diff --git a/wp-includes/ms-deprecated.php b/wp-includes/ms-deprecated.php index cd35f55c63..3d06dab9fb 100644 --- a/wp-includes/ms-deprecated.php +++ b/wp-includes/ms-deprecated.php @@ -497,6 +497,9 @@ function wp_get_sites( $args = array() ) { if( is_numeric( $args['limit'] ) ){ $args['number'] = $args['limit']; $args['limit'] = null; + } elseif ( ! $args['limit'] ) { + $args['number'] = 0; + $args['limit'] = null; } // Make sure count is disabled. diff --git a/wp-includes/version.php b/wp-includes/version.php index c50f431d5d..c7bd8aea01 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-40371'; +$wp_version = '4.8-alpha-40372'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.