Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

4.6 Deprecated wp_get_sites #229

Closed
squibbleFish opened this issue Aug 22, 2016 · 2 comments
Closed

4.6 Deprecated wp_get_sites #229

squibbleFish opened this issue Aug 22, 2016 · 2 comments
Assignees
Milestone

Comments

@squibbleFish
Copy link

squibbleFish commented Aug 22, 2016

Version Information

  • WordPress: 4.6
  • MultilingualPress: 2.4.7

PHP Notice is given due to deprecation of wp_get_sites() in Wordpress 4.6. Should now useget_sites(). Please see ticket here, https://core.trac.wordpress.org/ticket/36994

@bueltge
Copy link
Member

bueltge commented Aug 23, 2016

Is implemented in the source - 1856b7e

@tfrommen tfrommen added this to the v3.0.0 milestone Aug 23, 2016
@tfrommen
Copy link
Member

As @bueltge already pointed out, this is already included in the master, but not shipped in the latest patch update (i.e., MultilingualPress 2.4.7). wp_get_sites() does still work, and due to our policy of staying backcompat with two major versions back, the change is (in my opinion) too much for a patch release. The function didn't just get renamed, it also returns completely different things now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants