Ticket #26580: 26580.diff
File 26580.diff, 709 bytes (added by , 9 years ago) |
---|
-
src/wp-admin/includes/class-wp-ms-sites-list-table.php
165 165 $this->items = array_slice( $_sites, 0, $per_page ); 166 166 } 167 167 168 /** 169 * Filters the arguments for the site query in the sites list table. 170 * 171 * @since 4.6.0 172 * 173 * @param array $args An array of get_sites() arguments. 174 */ 175 $args = apply_filters( 'ms_sites_list_table_query_args', $args ); 176 168 177 $total_sites = get_sites( array_merge( $args, array( 169 178 'count' => true, 170 179 'offset' => 0,