Changeset 53507 for trunk/src/wp-includes/post.php
- Timestamp:
- 06/15/2022 01:17:59 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r53506 r53507 7491 7491 7492 7492 /** 7493 * Prime post parent post caches.7493 * Updates parent post caches for a list of post objects. 7494 7494 * 7495 7495 * @since 6.1.0 7496 7496 * 7497 * @param WP_Post[] $posts Array of Post objects.7497 * @param WP_Post[] $posts Array of post objects. 7498 7498 */ 7499 7499 function update_post_parent_caches( $posts ) { … … 7501 7501 $parent_ids = array_map( 'absint', $parent_ids ); 7502 7502 $parent_ids = array_unique( array_filter( $parent_ids ) ); 7503 7503 7504 if ( ! empty( $parent_ids ) ) { 7504 7505 _prime_post_caches( $parent_ids, false );
Note: See TracChangeset
for help on using the changeset viewer.