Ticket #56978: 56978.diff
File 56978.diff, 542 bytes (added by , 11 months ago) |
---|
-
src/wp-admin/includes/revision.php
diff --git a/src/wp-admin/includes/revision.php b/src/wp-admin/includes/revision.php index 01ef368d40..372f1353b2 100644
a b function wp_prepare_revisions_for_js( $post, $selected_revision_id, $from = null 194 194 195 195 $show_avatars = get_option( 'show_avatars' ); 196 196 197 cache_users( wp_list_pluck( $revisions, 'post_author' ));197 update_post_author_caches( $post ); 198 198 199 199 $can_restore = current_user_can( 'edit_post', $post->ID ); 200 200 $current_id = false;