[wp-trac] [WordPress Trac] #31148: Extend wp_get_sites() to support queries on domain and path

WordPress Trac noreply at wordpress.org
Fri Mar 11 00:05:44 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:  needs-testing has-patch 4.6-early    |  Resolution:
  needs-unit-tests                               |     Focuses:  multisite
-------------------------------------------------+-------------------------

Comment (by flixos90):

 A lot of progress going on here :)

 Should we work changes from #35697 into this patch here as well? The
 issues are really closely related, so maybe it's better if we close the
 other one as duplicate.

 We would need to think of which values should be possible for
 `$args['fields']`. I think allowing some associative combinations would be
 helpful, like `id=>domain` or `id=>path` (see patch in #35697) since these
 are combinations that are probably needed often (depending on whether the
 setup uses domains or paths).

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


More information about the wp-trac mailing list