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

WordPress Trac noreply at wordpress.org
Thu Apr 28 21:27:53 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 needs-unit-  |     Focuses:  multisite
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by ocean90):

 Replying to [comment:21 spacedmonkey]:
 > Going forward, I think we should deprecate wp_get_sites, as get_sites
 should replace it.

 I'm not sure if that's a good idea. `get_sites()` sounds to generic and
 could cause fatal errors if there are plugins/themes which define the same
 function (Yes, without a prefix).

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


More information about the wp-trac mailing list