Multisite: Remove unused site_count
property from WP_Site_Query
.
Related: [37837]. Props flixos90. See #35791. git-svn-id: https://develop.svn.wordpress.org/trunk@37875 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
90b85743a7
commit
269512cd6b
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user