[buddypress-trac] [BuddyPress Trac] #8932: Make sure to display a 404 if a Members (sub)nav misses a valid screen function

buddypress-trac noreply at wordpress.org
Sat Jul 8 09:38:05 UTC 2023


#8932: Make sure to display a 404 if a Members (sub)nav misses a valid screen
function
--------------------------+-------------------------
 Reporter:  imath         |      Owner:  imath
     Type:  defect (bug)  |     Status:  assigned
 Priority:  normal        |  Milestone:  12.0.0
Component:  Members       |    Version:
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-------------------------
 Working on documenting the `BP_Component` class, I noticed the BP Rewrites
 API wasn't displaying a 404 if a plugin was adding a members nav/subnav
 without a valid screen function. The Legacy URL parser was doing this
 fine.

 To maintain this behavior in 12.0.0, we need to check the parsed query
 once the Members primary/secondary navigations are set to verify the
 current Members’ component action has a valid screen function.

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


More information about the buddypress-trac mailing list