[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:52:29 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 | Resolution:
Keywords: has-patch | Focuses: multisite
--------------------------------+------------------------
Comment (by jeremyfelt):
[https://core.trac.wordpress.org/attachment/ticket/32512/32512.diff
32512.diff]
* Removes uses of `get_blog_status()` from both the sites and users MS
list table.
* Adds `mature` as a property when retrieving site objects from
`get_blogs_of_users()`.
Core's only other use of `get_blog_status()` is in `is_archived()`, which
we may be able to deprecate.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32512#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list