[buddypress-trac] [BuddyPress Trac] #6571: Verify new email address problem
buddypress-trac
noreply at wordpress.org
Wed Jul 29 09:05:54 UTC 2015
#6571: Verify new email address problem
----------------------------------+-----------------------------
Reporter: wp_manyeung | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Component - Settings | Version: 2.3.1
Severity: normal | Keywords:
----------------------------------+-----------------------------
Hi,
I got a problem when I change my email.
I got the following message after changed my email:
=====
There is a pending change of your email address to ''new_email''.
Check your email (''old_email'') for the verification link. Cancel
=====
And I received verification email which sent to ''new_email'' but not
''old_email''.
Should the verification send to ''old_email''?
I found the code in ''bp-settings-actions.php'' may be incorrect:
{{{
// Send the verification email
wp_mail( $user_email, sprintf( __( '[%s] Verify your new email address',
'buddypress' ), wp_specialchars_decode( bp_get_site_name() ) ), $content
);
}}}
it should be
{{{
wp_mail( $old_user_email, sprintf( __( '[%s] Verify your new email
address', 'buddypress' ), wp_specialchars_decode( bp_get_site_name() ) ),
$content );
}}}
, right?
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6571>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list