WordPress.org

Ready to get started?Download WordPress

Forums

WP-reCAPTCHA
Problem with Mailhide and input form field (3 posts)

  1. jmanko
    Member
    Posted 2 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:

    <tr>
                <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>
            </tr>

    and here is the resulting HTML:

    <tr>
                <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>
            </tr>

    http://wordpress.org/extend/plugins/wp-recaptcha/

  2. tilpro
    Member
    Posted 2 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
    Member
    Posted 2 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

About this Topic