Problem with Mailhide and input form field (3 posts)

  1. JohnM
    Posted 4 years ago #

    I'm experiencing a problem with WP-reCAPTCHA when used in conjunction with the plugin "Theme My Login".

    The problem occurs on the custom profile page of the plugin "Theme My Login". Here is the PHP code for profile-form.php:

                <th><label for="email"><?php _e( 'E-mail', 'theme-my-login' ); ?> <span class="description"><?php _e( '(required)', 'theme-my-login' ); ?></span></label></th>
                <td><input type="text" name="email" id="email" value="<?php echo esc_attr( $profileuser->user_email ) ?>" class="regular-text" /></td>

    and here is the resulting HTML:

                <th><label for="email">E-mail <span class="description">(required)</span></label></th>
                <td><input type="text" name="email" id="email" value="<span class="mh-email">john<a href='http://www.google.com/recaptcha/mailhide/d?k=xxx&c=yyy' onclick="window.open('http://www.google.com/recaptcha/mailhide/d?k=xxx&c=yyy', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;" title="Reveal this e-mail address">...</a>@gmail.com</span>" class="regular-text" /></td>


  2. tilpro
    Posted 4 years ago #

    Your problem code will be in the WP-reCaptcha plugin. They are not escaping their quotes.

    I just ran into this and I'm sorry for not providing more detail. It was a live site and it had to be fixed quickly.

  3. lonestarshack
    Posted 3 years ago #

    Can you please provide a little more detail on how to resolve this? It would be much appreciated.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic