Changeset 23818 for trunk/wp-admin/revision.php
- Timestamp:
- 03/27/2013 06:11:56 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/revision.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/revision.php
r23769 r23818 49 49 50 50 // Revisions disabled and we're not looking at an autosave 51 if ( ( ! WP_POST_REVISIONS || !post_type_supports($post->post_type, 'revisions') ) && !wp_is_post_autosave( $revision ) ) {51 if ( ! wp_revisions_enabled( $post ) && ! wp_is_post_autosave( $revision ) ) { 52 52 $redirect = 'edit.php?post_type=' . $post->post_type; 53 53 break;
Note: See TracChangeset
for help on using the changeset viewer.