Changeset 47122 for trunk/src/wp-admin/revision.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/revision.php
r45932 r47122 54 54 } 55 55 56 // Don't allow revision restore when post is locked 56 // Don't allow revision restore when post is locked. 57 57 if ( wp_check_post_lock( $post->ID ) ) { 58 58 break; … … 87 87 } 88 88 89 // Revisions disabled and we're not looking at an autosave 89 // Revisions disabled and we're not looking at an autosave. 90 90 if ( ! wp_revisions_enabled( $post ) && ! wp_is_post_autosave( $revision ) ) { 91 91 $redirect = 'edit.php?post_type=' . $post->post_type;
Note: See TracChangeset
for help on using the changeset viewer.