Skip to:
Content

BuddyPress.org

Opened 2 years ago

Closed 2 years ago

#9219 closed defect (bug) (fixed)

Missing document title for the Extended profile User Admin page

Reported by: imath Owned by: imath
Priority: normal Milestone: 15.0.0
Component: Administration Version: 2.1
Severity: normal Keywords: has-patch
Cc:

Description

On a regular site, when a subscriber is viewing their own extended profile, it generates a deprecated error because the document title is not found by WordPress Plugin API in this case: get_admin_page_title() fails as the URL for the Extended Profile is based on users.php instead of profile.php.

The same issue happens when a subsite subscriber is viewing his own extended profile from this subsite on Multisite configs.

Change History (2)

This ticket was mentioned in ​PR #353 on ​buddypress/buddypress by ​@imath.


2 years ago
#1

  • Keywords has-patch added

Make sure the document title is found by WordPress when a user is viewing their own BP Admin Profile.

Trac ticket: ​https://buddypress.trac.wordpress.org/ticket/9219

#2 @imath
2 years ago

  • Owner set to imath
  • Resolution → fixed
  • Status new → closed

In 13978:

Use the right parent page to generate the BP Admin Profile URL

Make sure this parent page is always profile.php when a subscriber is viewing their WP Admin/Extended profile.

Fixes #9219
Closes ​https://github.com/buddypress/buddypress/pull/353

Note: See TracTickets for help on using tickets.