diff --git a/wp-includes/ms-deprecated.php b/wp-includes/ms-deprecated.php index f45896ed4f..998f04ad81 100644 --- a/wp-includes/ms-deprecated.php +++ b/wp-includes/ms-deprecated.php @@ -506,7 +506,8 @@ function wp_get_sites( $args = array() ) { $results = array(); foreach ( $_sites as $_site ) { - $results[] = (array) get_site( $_site ); + $_site = get_site( $_site ); + $results[] = $_site->to_array(); } return $results; diff --git a/wp-includes/version.php b/wp-includes/version.php index c9278c0b30..51560b3cd5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37666'; +$wp_version = '4.6-alpha-37667'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.