#38451 closed defect (bug) (fixed)
WordPress Profile email change is flawed but has an easy fix
Reported by: | ThemesMatic | Owned by: | ocean90 |
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Users | Keywords: | good-first-bug has-patch needs-testing |
Focuses: | administration, multisite | Cc: |
Description
Currently, when a user resets their email address in their make.wordpress.org profile it sends the email confirmation, however, when the user clicks the link in the confirmation it throws an error which displays it to the user leaving them unable to update their email. The error message reads as follows:
"You attempted to access the "Make WordPress" dashboard, but you do not currently have privileges on this site. If you believe you should be able to access the "Make WordPress" dashboard, please contact your network administrator."
The reason WordPress displays this error, is the URL sent in the email to the user is incorrect.
The current confirmation link sent to the user is structured:
https://make.wordpress.org/wp-admin/profile.php?newuseremail=123456etc
The correct structure is:
https://make.wordpress.org/wp-admin/user/profile.php?newuseremail=123456etc
its missing "/user/" before "profile.php"
By adding "/user/" to the link I was able to update my email which removes "pending email update" from the profile page.
Seems like an easy fix.
Attachments (1)
Change History (8)
#1
@
8 years ago
- Component changed from General to WordPress.org site
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
#2
@
8 years ago
- Component changed from WordPress.org site to Users
- Focuses multisite added
- Keywords needs-patch good-first-bug added
- Milestone set to Future Release
- Resolution invalid deleted
- Status changed from closed to reopened
- Version 4.6.1 deleted
Re-opening since this is a bug in core. send_confirmation_on_profile_email()
uses admin_url()
which should be self_admin_url()
.
Related: #35766
Hey there,
Thanks for your report and welcome to WordPress Trac! Please note that this place is for reporting bugs in WordPress core, and not the WordPress.org website. Bug reports for that should be reported on https://meta.trac.wordpress.org. It's likely that this issue was already reported there before, so make sure a similar ticket does not exist yet.