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

WordPress Trac noreply at wordpress.org
Tue Jan 30 18:30:32 UTC 2018


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

Comment (by mnelson4):

 Thanks @jeremyfelt, that latest patch applies cleanly. IMO
 https://core.trac.wordpress.org/attachment/ticket/37684/37684.03.diff
 sounds good because it sounds like this code is specific the Sites list
 table (other code elsewhere might want to know what states a blog is in,
 but want to format the HTML differently).

 My ideal, though, would be to have a method on `WP_Site` for getting an
 array of all the site's states; and then use that list from the sites list
 table.

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


More information about the wp-trac mailing list