WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Rot13 Email Protection] Incorrect RegEx (3 posts)

  1. ccb621
    Member
    Posted 4 years ago #

    The Regex in the current version is broken and hides all of the content of posts/pages. A solution was found and posted in comment #16 on http://techtrouts.com/rot13-email-protection-for-wordpress/.

    Would you update and republish the .zip file?

    Aside from this the plug-in works great!

    http://wordpress.org/extend/plugins/rot13-email-protection/

  2. romanczar
    Member
    Posted 3 years ago #

    Thanks for the hint. That did drive me crazy :-)

    For all that do want a quick fix, here is the solution from the developers blog comments:

    Replace the REGEX in the PHP file with the following:

    $ROT13_EP_GEN_PATTERN="/(<a.*?mailto)(.*?)(<\/a>)/i";

  3. mostly
    Member
    Posted 3 years ago #

    That plugin is not working work with wp 3.0.1
    All content-text would hide in pages/posts after writing some text. As far as I realised it is a dot causing that hiding of text. It was not the first dot in that text that caused that hiding but after several ones.

Topic Closed

This topic has been closed to new replies.

About this Topic