[wp-trac] [WordPress Trac] #37684: Allow sites to have filterable "states" akin to posts & media

WordPress Trac noreply at wordpress.org
Wed Jun 5 14:49:46 UTC 2019


#37684: Allow sites to have filterable "states" akin to posts & media
-----------------------------------+------------------------------
 Reporter:  johnjamesjacoby        |       Owner:  johnjamesjacoby
     Type:  enhancement            |      Status:  assigned
 Priority:  normal                 |   Milestone:  5.3
Component:  Networks and Sites     |     Version:  3.0
 Severity:  normal                 |  Resolution:
 Keywords:  2nd-opinion has-patch  |     Focuses:  multisite
-----------------------------------+------------------------------
Changes (by pbiron):

 * keywords:  2nd-opinion has-patch needs-refresh => 2nd-opinion has-patch


Comment:

 [[https://core.trac.wordpress.org/attachment/ticket/37684/37684.3.diff|37684.3.diff]]
 is mostly the same as
 [[https://core.trac.wordpress.org/attachment/ticket/37684/37684.2.diff|37684.2.diff]],
 but with the following differences:

 1. passes the current site object to the new `display_site_states` filter
 2. corrects the `$site_states` index for the `Main` state (it was
 `deleted` in 37684.2.diff)
 3. updates the `@since` tags to 5.3.0

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/37684#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list