Opened 22 months ago
Closed 22 months ago
#8772 closed enhancement (fixed)
Introduce a filter to allow BP directory pages status to be different than `publish`
Reported by: | imath | Owned by: | imath |
---|---|---|---|
Milestone: | 11.0.0 | Priority: | normal |
Severity: | normal | Version: | 1.5 |
Component: | Core | Keywords: | has-patch |
Cc: |
Description
I believe to make the BP Rewrites plugin more attractive so that it get more users to test using BuddyPress with the WP Rewrite API, we should test some other features like the visibility one we discussed about here: #8734 (restricting BP pages to members). That's why I've been working on implementing it from this PR, I recently merged.
I noticed doing so it wasn't easy to use a different status than publish
when querying for directory pages. I believe we should make it easier instead of filtering the query
hook like I did there.
That's why I plan on introducing a filter to allow the use of other registered post stati.
Make it easier to use a different post status for BP Directory pages.
Trac ticket: https://buddypress.trac.wordpress.org/ticket/8772