[wp-trac] [WordPress Trac] #37392: Multisite "Sites" screen: Add links to filter websites by status

WordPress Trac noreply at wordpress.org
Wed Sep 18 22:18:36 UTC 2019


#37392: Multisite "Sites" screen: Add links to filter websites by status
----------------------------------------+------------------------
 Reporter:  thomaswm                    |       Owner:  mnelson4
     Type:  enhancement                 |      Status:  assigned
 Priority:  normal                      |   Milestone:  5.3
Component:  Networks and Sites          |     Version:  3.0
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:  multisite
----------------------------------------+------------------------

Comment (by pbiron):

 [https://core.trac.wordpress.org/attachment/ticket/37392/37392.2.diff
 37392.2.diff] is like
 [https://core.trac.wordpress.org/attachment/ticket/37392/37392.9.patch
 37392.9.patch], with the following differences:

 1. `wp_count_sites()` uses separate `WP_Site_Query` objects for each
 status in the loop
 2. removed `$wpdb` global that was unused
 3. cleaned up the DocBlocks a little bit

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


More information about the wp-trac mailing list