[wp-trac] [WordPress Trac] #35791: WP_Site_Query class

WordPress Trac noreply at wordpress.org
Fri May 20 05:01:20 UTC 2016

#35791: WP_Site_Query class
 Reporter:  spacedmonkey                         |       Owner:  jeremyfelt
     Type:  task (blessed)                       |      Status:  reviewing
 Priority:  normal                               |   Milestone:  4.6
Component:  Networks and Sites                   |     Version:  4.4
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-unit-    |     Focuses:  multisite
  tests                                          |

Comment (by jeremyfelt):

 [attachment:35791-class.7.patch] is a refreshed class patch after the
 introduction of `get_site()` in [37468]. Going to shoot for getting the
 rest of this in tomorrow morning and then start towards implementation.

 > I added this functionality in 35791-class.6.patch​ since I agree that it
 would be very useful and it wasn't too hard to implement.

 I've removed this for now, but we should continue to explore it once we
 get `WP_Site_Query` in. We'll need some tests that cover the possibilities
 of single slashes, multiple slashes, leading/trailing slashes, etc...

Ticket URL: <https://core.trac.wordpress.org/ticket/35791#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list