[buddypress-trac] [BuddyPress Trac] #8953: Make sure to display a 404 if a Group’s URL has no match in registered screens (was: Make sure to display a 404 if a Group’s (sub)nav misses a valid screen function)

buddypress-trac noreply at wordpress.org
Tue Jul 25 12:33:27 UTC 2023


#8953: Make sure to display a 404 if a Group’s URL has no match in registered
screens
--------------------------+-----------------------
 Reporter:  imath         |       Owner:  imath
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  12.0.0
Component:  Groups        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------
Description changed by imath:

Old description:

> Working on documenting the BP_Group_Extension class, I noticed the BP
> Rewrites API wasn't displaying a 404 if a plugin was adding a group’s
> (sub)nav without a valid screen function. The Legacy URL parser was doing
> this fine.

New description:

 Working on documenting the BP_Group_Extension class, I noticed the BP
 Rewrites API wasn't displaying a 404 if the current action had no
 corresponding group screen.

--

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8953#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list