[buddypress-trac] [BuddyPress Trac] #8772: Introduce a filter to allow BP directory pages status to be different than `publish`

buddypress-trac noreply at wordpress.org
Thu Dec 1 05:02:31 UTC 2022


#8772: Introduce a filter to allow BP directory pages status to be different than
`publish`
-------------------------+---------------------
 Reporter:  imath        |       Owner:  imath
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  11.0.0
Component:  Core         |     Version:  1.5
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------
Changes (by imath):

 * owner:  (none) => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"13377" 13377]:
 {{{
 #!CommitTicketReference repository="" revision="13377"
 Introduce a function to get allowed post stati for BP directory pages

 The `bp_core_get_directory_pages_stati()` function has been introduced to
 be able to get BP Directory pages having various registered post stati. So
 far only the `publish` post status was allowed. Filtering
 `'bp_core_get_directory_pages_stati'`, it's now possible to include other
 registered post stati. This new possibility gives a way to use WorPress
 Post Status to set custom & more granular user visibilities for components
 having a directory page.

 Closes https://github.com/buddypress/buddypress/pull/40
 Fixes #8772
 }}}

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


More information about the buddypress-trac mailing list