MailHide shouldn't be applied to email addresses within form input values. (1 post)

  1. KZeni
    Posted 5 years ago #

    I have had numerous cases where there's a form with a hidden input field pre-populated to determine the email notification recipient, or something similar to that. The problem arises when the code for the form suddenly becomes <input type="hidden" name="recipient" value="<span class="mh-email"... and so on (therefore totally breaking the form).

    I see there's code that looks to see if an email is hyperlinked, but it would be tremendously helpful if the same would be done for if an email is within an input tag.

    I was using remove_filter for various situations to get around this in the past, but the newest version's object-oriented functions makes remove_filter not able to disable this on a per-case scenario. I've had to disable mailhide entirely to resolve this in the meantime, but I'd love to get back to using this plugin's full set of capabilities.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic