• Version 1.1.1 of the plugin needs to be corrected with the following updates to fix the PHP notice and deprecation of the wp_get_sites method:

    Change line 93 to:
    $my_blogs = get_sites();

    Change line 99 to:
    switch_to_blog( $blog->blog_id );

    Change line 135 to:
    $my_blogs = get_sites();

    Change lines 141 and 142 to:

    if( $blog->path == $path || $blog->blog_id == $arg )
    				return $blog->blog_id;
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘wp_get_sites is deprecated since version 4.6.0, use get_sites() instead’ is closed to new replies.