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

WordPress Trac noreply at wordpress.org
Wed Jun 1 23:38:42 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 needs-dev-note                           |
-------------------------------------------------+-------------------------

Comment (by jeremyfelt):

 In [changeset:"37617"]:
 {{{
 #!CommitTicketReference repository="" revision="37617"
 Multisite: Replace `wp_get_sites()` internals with `get_sites()`

 `get_sites()` should be considered a replacement for `wp_get_sites()`.
 Backward compatibility is maintained in the meantime by using `get_site()`
 to populate the return data with associative arrays rather than `WP_Site`
 objects.

 Props spacedmonkey, flixos90.
 See #35791.
 }}}

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


More information about the wp-trac mailing list