mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 07:37:44 +02:00
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:
parent
9edd8df844
commit
12809c4735
@ -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;
|
||||||
|
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user