Ticket #24525: 24525.patch
File 24525.patch, 511 bytes (added by , 12 years ago) |
---|
-
wp-admin/revision.php
26 26 break; 27 27 28 28 // Revisions disabled (previously checked autosavegs && ! wp_is_post_autosave( $revision )) 29 if ( ( ! WP_POST_REVISIONS || ! post_type_supports( $post->post_type, 'revisions' )) ) {29 if ( ! wp_revisions_enabled( $post ) ) { 30 30 $redirect = 'edit.php?post_type=' . $post->post_type; 31 31 break; 32 32 }