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

WordPress Trac noreply at wordpress.org
Tue Jun 4 20:04:56 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 needs-patch needs-  |     Focuses:  multisite
  refresh                                        |
-------------------------------------------------+-------------------------

Comment (by mnelson4):

 Thanks for giving it a look @spacedmonkey.
 I’ll refresh the patch ASAP.
 Did you look at
 https://core.trac.wordpress.org/attachment/ticket/37392/37392.8.patch ? In
 it, `wp_count_sites` does cache its result. Also, because it’s just
 getting a count, I think using `WP_Site_Query` would be very inefficient,
 because it gets the rows instead of just a count. What do you think?

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


More information about the wp-trac mailing list