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

WordPress Trac noreply at wordpress.org
Mon Jun 6 21:58:38 UTC 2016


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

 * keywords:  needs-patch => has-patch


Comment:

 [attachment:36994.diff] deprecates `wp_get_sites()`. I annotated all tests
 that use `wp_get_sites()` with deprecated docs, since I think we should
 all keep them use the old `wp_get_sites()` - we already have tests for
 `get_sites()` in place, through the `WP_Site_Query` tests.

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


More information about the wp-trac mailing list