diff --git a/wp-admin/includes/class-wp-ms-sites-list-table.php b/wp-admin/includes/class-wp-ms-sites-list-table.php index 6ffc312906..290157fec2 100644 --- a/wp-admin/includes/class-wp-ms-sites-list-table.php +++ b/wp-admin/includes/class-wp-ms-sites-list-table.php @@ -158,6 +158,15 @@ class WP_MS_Sites_List_Table extends WP_List_Table { $args['no_found_rows'] = false; } + /** + * Filters the arguments for the site query in the sites list table. + * + * @since 4.6.0 + * + * @param array $args An array of get_sites() arguments. + */ + $args = apply_filters( 'ms_sites_list_table_query_args', $args ); + $_sites = get_sites( $args ); if ( is_array( $_sites ) ) { update_site_cache( $_sites ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 794d1d6f17..b47ff7f11b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37898'; +$wp_version = '4.6-alpha-37899'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.