Plugin Directory

Changeset 829348


Ignore:
Timestamp:
12/28/2013 06:32:52 AM (12 years ago)
Author:
zingming
Message:

allow intuitive form of .co.uk addresses

Location:
humansnotbots/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • humansnotbots/trunk/humansnotbots.js

    r334422 r829348  
    55        strDOT = "DOT";
    66    }
    7     var disguisedForm = "([a-zA-Z0-9._%+-]+)\\s" + strAT + "\\s([a-zA-Z0-9.-]+)\\s" + strDOT + "\\s([a-zA-Z]{2,4})";
     7    var disguisedForm = "([a-zA-Z0-9._%+-]+)\\s" + strAT + "\\s([a-zA-Z0-9.-]+)\\s" + strDOT + "\\s(co\.uk|[a-zA-Z]{2,4})";
    88    var htmlbody = document.getElementsByTagName('body')[0];
    99    if (replacement_method == 'innerhtml')   
     
    7474    }
    7575}
     76
  • humansnotbots/trunk/humansnotbots.php

    r334424 r829348  
    44Plugin URI: http://wordpress.org/extend/plugins/humansnotbots/
    55Description: Email addresses in the form <strong>email AT address DOT com</strong> are converted to a clickable version, <a href="mailto:[email protected]">[email protected]</a>, if JavaScript is enabled. If JavaScript is not enabled (such as for screen readers), then the email address in the form "email AT address DOT com" is still readable to humans.
    6 Author: Zing-Ming
    7 Version: 3.1
     6Author: Sophiah (Zing-Ming)
     7Version: 3.2
    88Author URI: http://wordpress.org/extend/plugins/profile/zingming
    99Text Domain: humansnotbots
  • humansnotbots/trunk/readme.txt

    r334425 r829348  
    33Tags: email, spam, email obfuscator, email munger, email obfuscation, email munging, email cloaker, accessibility, post, posts, plugin
    44Requires at least: 3.0.1
    5 Tested up to: 3.0.1
    6 Stable tag: 3.1
     5Tested up to: 3.8
     6Stable tag: 3.2
    77
    88"email AT address DOT com" (without quotes) is converted to a clickable version of [email protected] if JavaScript is enabled.
     
    3838= Do email addresses that end with "co.uk" work? =
    3939
    40 Yes. Use the form `user AT somewhere.co DOT uk`.
     40Yes. Email address that end in "co.uk" always worked, but as of version 3.2, you can use the intuitive form: email AT address DOT co.uk.
    4141
    4242= Something is broken. =
     
    5353
    5454== Changelog ==
     55
     56= 3.2 =
     57* Updated to allow intuitive form of .co.uk email addresses, i.e., email AT address DOT co.uk.
    5558
    5659= 3.1 =
Note: See TracChangeset for help on using the changeset viewer.