[buddypress-trac] [BuddyPress Trac] #9106: Update email address verify link not working

buddypress-trac noreply at wordpress.org
Thu Feb 22 09:17:01 UTC 2024


#9106: Update email address verify link not working
---------------------------+-----------------------------
 Reporter:  yagniksangani  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  high           |  Milestone:  Awaiting Review
Component:  Core           |    Version:
 Severity:  major          |   Keywords:  has-patch
---------------------------+-----------------------------
 I wanted to change or update my email address in my account. So I added a
 new email address and then received a verify new email address link in the
 mail inbox.

 So when I clicked on the verify link, it was not working and the email
 address was not updated. I checked it in the latest version of the plugin
 right now "12.2.0" and many other old versions. So all the past few
 versions have the same issue.

 I debugged the Buddypress plugin code and found the issue, the verify link
 has been created wrong.
 In the file "/buddypress/bp-settings/actions/general.php" the verify link
 generation code is wrong, "bp_displayed_user_url( $path_chunks )"
 https://snipboard.io/A8cGeC.jpg and verify link does not redirect to
 "settings" page.

 The correct code should be, https://snipboard.io/fu5ydw.jpg
 "bp_displayed_user_url( bp_members_get_path_chunks( $path_chunks ) )"
 So now the verify link redirects to the "settings/" page and the new email
 address gets verified successfully.

 So please fix this issue as soon as in the next release. So in the next
 plugin update, it will be resolved on my websites. For now, I temporarily
 fixed in my website's plugin file.

 This is a major issue missed by the Buddypress plugin team for since long
 time and from many last releases, no one faced that within the buddypress
 team.

 I faced the issue and resolved the issue as well, So would you like to
 appreciate me, with some kind of a gift/money?

 Thanks

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9106>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list