[wp-trac] [WordPress Trac] #57164: Email change confirmation link incorrect for MU user with no roles
WordPress Trac
noreply at wordpress.org
Mon Nov 21 12:24:36 UTC 2022
#57164: Email change confirmation link incorrect for MU user with no roles
--------------------------+----------------------------------------
Reporter: roytanck | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 4.9
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: administration, multisite
--------------------------+----------------------------------------
Changes (by johnbillion):
* keywords: => needs-patch
* version: => 4.9
* component: General => Users
Old description:
> The link in an email change confirmation email for users with no roles in
> a multisite install is incorrect, causing them to be unable to change
> their email address.
>
> This appears to be a regression. The same issue was fixed in #38876 , but
> #41163 appears to have undone that fix.
>
> Steps to reproduce:
>
> * Create a new (subdirectory) multisite install.
> * In the network admin, create a new user.
> * Do not assign any roles to this user.
> * Login as the new user, and attempt to change their email address.
> * When clicking the link in the confirmation email, an error will appear.
>
> As described in #38451, adding `/user` in the URL will fix the issue. It
> appears that `self_admin_url()` does this.
New description:
The link in an email change confirmation email for users with no roles in
a multisite install is incorrect, causing them to be unable to change
their email address.
This appears to be a regression. The same issue was fixed in [38876] , but
[41163] appears to have undone that fix.
Steps to reproduce:
* Create a new (subdirectory) multisite install.
* In the network admin, create a new user.
* Do not assign any roles to this user.
* Login as the new user, and attempt to change their email address.
* When clicking the link in the confirmation email, an error will appear.
As described in #38451, adding `/user` in the URL will fix the issue. It
appears that `self_admin_url()` does this.
--
Comment:
Thanks for the report
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57164#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list