[wp-trac] [WordPress Trac] #31148: Extend wp_get_sites() to support queries on domain and path
WordPress Trac
noreply at wordpress.org
Tue Feb 23 00:06:08 UTC 2016
#31148: Extend wp_get_sites() to support queries on domain and path
-------------------------------------------------+-------------------------
Reporter: earnjam | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future
Component: Networks and Sites | Release
Severity: normal | Version:
Keywords: dev-feedback needs-testing has- | Resolution:
patch | Focuses: multisite
-------------------------------------------------+-------------------------
Comment (by spacedmonkey):
Had another bash at this ticket. Like the idea but added some useful
options to it.
I think this should be a phase one of using the wp_get_sites function as a
way of calling the blogs table throughout WordPress. See #35791 for a
list of functions where the logic should remove if this patch is merged.
Later we can replace the logic in the wp_get_site function with
WP_Site_Query class.
Related: #35791 #35697 #30233
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31148#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list