[wp-trac] [WordPress Trac] #32512: Reuse site objects in MS user and site list tables rather than calling get_blog_status()

WordPress Trac noreply at wordpress.org
Wed May 27 21:50:02 UTC 2015


#32512: Reuse site objects in MS user and site list tables rather than calling
get_blog_status()
--------------------------------+-----------------------
 Reporter:  jeremyfelt          |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  4.3
Component:  Networks and Sites  |    Version:
 Severity:  normal              |   Keywords:  has-patch
  Focuses:  multisite           |
--------------------------------+-----------------------
 In `class-wp-ms-users-list-table.php` and `class-wp-ms-sites-list-
 table.php`, we loop through sites and use `get_blog_status()` to determine
 if each is archived, spam, mature, or deleted.

 As highlighted in #32281, this data is available from the database as part
 of the site object and can be reused.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32512>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list