[wp-trac] [WordPress Trac] #30151: wp-signup.php shows "We send your registration email to this address..." message even if the registration fails
WordPress Trac
noreply at wordpress.org
Tue Oct 28 23:29:18 UTC 2014
#30151: wp-signup.php shows "We send your registration email to this address..."
message even if the registration fails
------------------------------------+-----------------------------
Reporter: summoner | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 4.0
Severity: normal | Keywords:
Focuses: |
------------------------------------+-----------------------------
Hi there,
Just noticed this minor bug.
Wordpress 4.0 renders the message "We send your registration email to this
address. (Double-check your email address before continuing.)" even if the
registration fails for any reason.
This is because in wp-signup.php on line 191 there is no condition in the
code:
{{{
<input name="user_email" type="email" id="user_email" value="<?php echo
esc_attr($user_email) ?>" maxlength="200" /><br /><?php _e('We send your
registration email to this address. (Double-check your email address
before continuing.)') ?>
}}}
With this slight modification it seems to be ok on my side:
{{{
<input name="user_email" type="email" id="user_email" value="<?php echo
esc_attr($user_email) ?>" maxlength="200" /><br /><?php if($errmsg) _e('We
send your registration email to this address. (Double-check your email
address before continuing.)') ?>
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30151>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list