Changeset 49193 for trunk/src/wp-includes/ms-site.php
- Timestamp:
- 10/18/2020 05:25:10 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/ms-site.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-site.php
r48658 r49193 353 353 $non_cached_ids = _get_non_cached_ids( $ids, 'sites' ); 354 354 if ( ! empty( $non_cached_ids ) ) { 355 $fresh_sites = $wpdb->get_results( sprintf( "SELECT * FROM $wpdb->blogs WHERE blog_id IN (%s)", join( ',', array_map( 'intval', $non_cached_ids ) ) ) ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared355 $fresh_sites = $wpdb->get_results( sprintf( "SELECT * FROM $wpdb->blogs WHERE blog_id IN (%s)", implode( ',', array_map( 'intval', $non_cached_ids ) ) ) ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared 356 356 357 357 update_site_cache( $fresh_sites, $update_meta_cache );
Note: See TracChangeset
for help on using the changeset viewer.