Home Forums Bug Reports PHP Notice on WordPress MU since 4.6 update


PHP Notice on WordPress MU since 4.6 update

  • Hello,

    I’ve just updated one of my WordPress install to 4.6 and I now view a php notice about a deprecated function used.

    It’s only related to WordPress MU feature because it’s the wp_get_sites which have been replaced by get_sites.

    The corresponding notice :

    Notice: wp_get_sites is deprecated since version 4.6.0! Use get_sites() instead. in /Users/shulard/Sites/Clients/Cher Ami/schneider-life-is-on/public/wp-cms/wp-includes/functions.php on line 3706

    Is there a way to contribute to ACF somewhere ?
    Be aware that the get_sites function now return an array of WP_Site instance and not an array of array.

  • I have reported this to the developer, thanks for letting us know.

  • I can confirm I’m getting the same message.

  • The developer replied and said that this should be fixed in the next update.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.