Changeset 53842 for trunk/src/wp-includes/theme.php
- Timestamp:
- 08/05/2022 01:37:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r53741 r53842 2069 2069 2070 2070 // Trigger creation of a revision. This should be removed once #30854 is resolved. 2071 if ( 0 === count( wp_get_post_revisions( $r ) ) ) { 2071 $revisions = wp_get_latest_revision_id_and_total_count( $r ); 2072 if ( ! is_wp_error( $revisions ) && 0 === $revisions['count'] ) { 2072 2073 wp_save_post_revision( $r ); 2073 2074 }
Note: See TracChangeset
for help on using the changeset viewer.