Multisite: Remove unused `site_count` property from `WP_Site_Query`.

Related: [37837].

Props flixos90.
See #35791.

Built from https://develop.svn.wordpress.org/trunk@37875


git-svn-id: http://core.svn.wordpress.org/trunk@37816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Jeremy Felt 2016-06-26 14:33:28 +00:00
parent 9edd8df844
commit 12809c4735
2 changed files with 1 additions and 3 deletions

View File

@ -282,8 +282,6 @@ class WP_Site_Query {
$site_ids = array_map( 'intval', $site_ids ); $site_ids = array_map( 'intval', $site_ids );
$this->site_count = count( $this->sites );
if ( 'ids' == $this->query_vars['fields'] ) { if ( 'ids' == $this->query_vars['fields'] ) {
$this->sites = $site_ids; $this->sites = $site_ids;

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.6-alpha-37874'; $wp_version = '4.6-alpha-37875';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.