Plugin Directory

Changeset 1022004


Ignore:
Timestamp:
11/08/2014 11:48:50 AM (11 years ago)
Author:
cgarvey
Message:

Quote callback function name as per specs (thanks to Simon Schaller)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • email-javascript-cloaker/trunk/email-js-cloak.php

    r984706 r1022004  
    4343    // Replace / reformat email addresses (to reduce risk of harvesting) (for [email x@y.z] shortcut)
    4444    $regex = "/\[ *email +([^\]]*)\]/";
    45     $ret = preg_replace_callback( $regex, email_js_cloak_regex_callback, $string );
     45    $ret = preg_replace_callback( $regex, 'email_js_cloak_regex_callback', $string );
    4646
    4747    // Add text to explain email address format for no-JavaScript clients (if [emailnojs] shortcode is present)
Note: See TracChangeset for help on using the changeset viewer.