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

WordPress Trac noreply at wordpress.org
Tue Oct 8 17:44:53 UTC 2019


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

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"46441" 46441]:
 {{{
 #!CommitTicketReference repository="" revision="46441"
 Network Admin: Improve Site States in List Table rows.

 This commit switches a comparison to a Yoda condition, performs a more
 strict `intval()` check on the value of the Site Status column, and
 prevents a specific Site State from appearing in List Table rows when
 filtering by that same Site State already (to match the behavior of other
 List Table State implementations.)

 Fixes #37684. Props pbiron.
 }}}

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


More information about the wp-trac mailing list