Changeset 54784 for branches/6.1/src/wp-includes/post.php
- Timestamp:
- 11/10/2022 02:20:47 AM (17 months ago)
- Location:
- branches/6.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.1
-
branches/6.1/src/wp-includes/post.php
r54783 r54784 7479 7479 */ 7480 7480 function update_post_author_caches( $posts ) { 7481 /* 7482 * cache_users() is a pluggable function so is not available prior 7483 * to the `plugins_loaded` hook firing. This is to ensure against 7484 * fatal errors when the function is not available. 7485 */ 7486 if ( ! function_exists( 'cache_users' ) ) { 7487 return; 7488 } 7489 7481 7490 $author_ids = wp_list_pluck( $posts, 'post_author' ); 7482 7491 $author_ids = array_map( 'absint', $author_ids );
Note: See TracChangeset
for help on using the changeset viewer.