4.6 Deprecated wp_get_sites #229

sfisherGizmo opened this Issue Aug 22, 2016 · 2 comments


None yet

3 participants

sfisherGizmo commented Aug 22, 2016 edited

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 commented Aug 23, 2016

Is implemented in the source - 1856b7e

@tfrommen tfrommen was assigned by bueltge Aug 23, 2016
@tfrommen tfrommen added this to the v3.0.0 milestone Aug 23, 2016

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.

@tfrommen tfrommen closed this Aug 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment