WordPress.org

Make WordPress Core

Ticket #35791: 35791.2.diff

File 35791.2.diff, 437 bytes (added by flixos90, 3 years ago)
  • src/wp-includes/class-wp-site-query.php

     
    282282
    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;
    289287