Opened 3 years ago
Closed 3 years ago
#8953 closed defect (bug) (fixed)
Make sure to display a 404 if a Group’s URL has no match in registered screens
| Reported by: | imath | Owned by: | imath |
|---|---|---|---|
| Priority: | normal | Milestone: | 12.0.0 |
| Component: | Groups | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description (last modified by )
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.
Change History (3)
#1
@
3 years ago
- Description modified (diff)
- Summary Make sure to display a 404 if a Group’s (sub)nav misses a valid screen function → Make sure to display a 404 if a Group’s URL has no match in registered screens
This ticket was mentioned in PR #138 on buddypress/buddypress by @imath.
3 years ago
#2
- Keywords has-patch added; needs-patch removed
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Introduces a
check_parsed_query()method to theBP_Groups_Componentclass to make sure the requested group URL matches an existing group screen.Trac ticket: https://buddypress.trac.wordpress.org/ticket/8953