Changeset 13209 for trunk/wp-admin/revision.php
- Timestamp:
- 02/19/2010 01:03:58 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/revision.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/revision.php
r12859 r13209 30 30 break; 31 31 32 if ( ! constant('WP_POST_REVISIONS')&& !wp_is_post_autosave( $revision ) ) // Revisions disabled and we're not looking at an autosave32 if ( ! WP_POST_REVISIONS && !wp_is_post_autosave( $revision ) ) // Revisions disabled and we're not looking at an autosave 33 33 break; 34 34 … … 69 69 break; // Don't diff two unrelated revisions 70 70 71 if ( ! constant('WP_POST_REVISIONS')) { // Revisions disabled71 if ( ! WP_POST_REVISIONS ) { // Revisions disabled 72 72 if ( 73 73 // we're not looking at an autosave … … 107 107 break; 108 108 109 if ( ! constant('WP_POST_REVISIONS')&& !wp_is_post_autosave( $revision ) ) // Revisions disabled and we're not looking at an autosave109 if ( ! WP_POST_REVISIONS && !wp_is_post_autosave( $revision ) ) // Revisions disabled and we're not looking at an autosave 110 110 break; 111 111 … … 208 208 209 209 $args = array( 'format' => 'form-table', 'parent' => true, 'right' => $right, 'left' => $left ); 210 if ( ! constant( 'WP_POST_REVISIONS' ))210 if ( ! WP_POST_REVISIONS ) 211 211 $args['type'] = 'autosave'; 212 212
Note: See TracChangeset
for help on using the changeset viewer.