WordPress.org

Make WordPress Core

Changeset 37875


Ignore:
Timestamp:
06/26/2016 02:32:07 PM (3 years ago)
Author:
jeremyfelt
Message:

Multisite: Remove unused site_count property from WP_Site_Query.

Related: [37837].

Props flixos90.
See #35791.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-site-query.php

    r37868 r37875  
    283283        $site_ids = array_map( 'intval', $site_ids );
    284284
    285         $this->site_count = count( $this->sites );
    286 
    287285        if ( 'ids' == $this->query_vars['fields'] ) {
    288286            $this->sites = $site_ids;
Note: See TracChangeset for help on using the changeset viewer.