Support » Plugin: CryptX » two bugs: please fix

  • Resolved Leitner


    Hi Ralf,

    I found two bugs:

    If you have whitespaces between <a> and </a> CryptX doesn’t work.
    The Regex at line 226 in functions.php should be /<a (.*?)(href=("|\')mailto:(.*?)("|\')(.*?)|)>\s*(.*?)\s*<\/a>/i

    If you have declared a target in an anchor CryptX doesn’t work correctly.
    So you have to add at line 238 in functions.php:
    $return = preg_replace('/target=((\"(.*?)\")|(\'(.*?)\'))/i', '', $return);


Viewing 1 replies (of 1 total)
  • Plugin Author Ralf Weber



    sorry for the very long delay 🙁

    In the new version 3.12.14 I put your bug fixes into the code.

    Thanks a lot for your help 🙂

    Kind regards

Viewing 1 replies (of 1 total)
  • The topic ‘two bugs: please fix’ is closed to new replies.