Changeset 52707 for trunk/src/wp-includes/post.php
- Timestamp:
- 02/11/2022 06:50:08 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r52691 r52707 7369 7369 } 7370 7370 7371 $data = array(); 7371 7372 foreach ( $posts as $post ) { 7372 wp_cache_add( $post->ID, $post, 'posts' ); 7373 } 7373 $data[ $post->ID ] = $post; 7374 } 7375 wp_cache_add_multiple( $data, 'posts' ); 7374 7376 } 7375 7377
Note: See TracChangeset
for help on using the changeset viewer.