[wp-trac] [WordPress Trac] #36994: Deprecate wp_get_sites()

WordPress Trac noreply at wordpress.org
Wed Jun 8 03:02:37 UTC 2016


#36994: Deprecate wp_get_sites()
--------------------------------+-------------------------
 Reporter:  jeremyfelt          |       Owner:  jeremyfelt
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  4.6
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+-------------------------
Changes (by jeremyfelt):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37653"]:
 {{{
 #!CommitTicketReference repository="" revision="37653"
 Multisite: Deprecate `wp_get_sites()`

 Defer to the new `get_sites()` replacement, offering fresh (...or cached)
 `WP_Site` objects via the new `WP_Site_Query`.

 Props flixos90.
 Fixes #36994.
 }}}

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


More information about the wp-trac mailing list