[wp-trac] [WordPress Trac] #57164: Email change confirmation link incorrect for MU user with no roles

WordPress Trac noreply at wordpress.org
Tue Feb 21 15:53:25 UTC 2023


#57164: Email change confirmation link incorrect for MU user with no roles
------------------------------+----------------------------------------
 Reporter:  roytanck          |       Owner:  audrasjb
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.2
Component:  Users             |     Version:  4.9
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  administration, multisite
------------------------------+----------------------------------------
Changes (by audrasjb):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55396" 55396]:
 {{{
 #!CommitTicketReference repository="" revision="55396"
 Users: Fix confirmation link for multisite users with no role.

 This fixes a regression introduced in [41163], where the link in change
 confirmation emails for users with no roles in a multisite install was
 incorrect, causing them to be unable to change their email address. This
 changeset replaces `admin_url()` with `self_admin_url()` to restore the
 previous fix.

 Follow-up to [38876], [40632], [41165], [41163].

 Props roytanck, SergeyBiryukov, johnbillion, afrin29.
 Fixes #57164.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57164#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list