[buddypress-trac] [BuddyPress Trac] #6163: bp_settings_pending_email_notice() message using wrong email
buddypress-trac
noreply at wordpress.org
Sat Oct 10 18:11:01 UTC 2015
#6163: bp_settings_pending_email_notice() message using wrong email
-------------------------------------+------------------
Reporter: willgladstone | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.4
Component: Component - Settings | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------
Description changed by DJPaul:
Old description:
> bp_settings_pending_email_notice() spits out a message to check your
> email for verification of a change in email address. The email it tells
> you to check is your old email but it sends the verification to the new
> email. The message should be corrected to tell you to check your new
> email.
>
> {{{
> printf( __( 'There is a pending change of your email address to
> <code>%1$s</code>.<br />Check your email (<code>%2$s</code>) for the
> verification link. <a href="%3$s">Cancel</a>', 'buddypress' ),
> $pending_email['newemail'], bp_get_displayed_user_email(), esc_url(
> bp_displayed_user_domain() . bp_get_settings_slug() .
> '/?dismiss_email_change=1' ) )
> }}}
>
> should instead be:
>
> {{{
> printf( __( 'There is a pending change of your email address to
> <code>%1$s</code>.<br />Check your email (<code>%2$s</code>) for the
> verification link. <a href="%3$s">Cancel</a>', 'buddypress' ),
> $pending_email['newemail'], $pending_email['newemail'], esc_url(
> bp_displayed_user_domain() . bp_get_settings_slug() .
> '/?dismiss_email_change=1' ) )
> }}}
New description:
bp_settings_pending_email_notice() spits out a message to check your email
for verification of a change in email address. The email it tells you to
check is your old email but it sends the verification to the new email.
The message should be corrected to tell you to check your new email.
> printf( __( 'There is a pending change of your email address to
<code>%1$s</code>.<br />Check your email (<code>%2$s</code>) for the
verification link. <a href="%3$s">Cancel</a>', 'buddypress' ),
$pending_email['newemail'], bp_get_displayed_user_email(), esc_url(
bp_displayed_user_domain() . bp_get_settings_slug() .
'/?dismiss_email_change=1' ) )
should instead be:
> printf( __( 'There is a pending change of your email address to
<code>%1$s</code>.<br />Check your email (<code>%2$s</code>) for the
verification link. <a href="%3$s">Cancel</a>', 'buddypress' ),
$pending_email['newemail'], $pending_email['newemail'], esc_url(
bp_displayed_user_domain() . bp_get_settings_slug() .
'/?dismiss_email_change=1' ) )
--
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6163#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list