mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-26 06:04:31 +00:00
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:
@@ -282,8 +282,6 @@ class WP_Site_Query {
|
||||
|
||||
$site_ids = array_map( 'intval', $site_ids );
|
||||
|
||||
$this->site_count = count( $this->sites );
|
||||
|
||||
if ( 'ids' == $this->query_vars['fields'] ) {
|
||||
$this->sites = $site_ids;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user