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

WordPress Trac noreply at wordpress.org
Wed Jun 8 02:47:51 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:"37652"]:
 {{{
 #!CommitTicketReference repository="" revision="37652"
 Multisite: Remove the output parameter from `get_site()`

 Full `WP_Site` objects should be expected from `get_site()` rather than
 arrays.

 In the single (soon to be deprecated) use of arrays for this in core, we
 can cast the result to `(array)` for back-compat.

 See #35791.
 }}}

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


More information about the wp-trac mailing list