WordPress.org

Make WordPress Core

Ticket #24804: 24804.20.diff

File 24804.20.diff, 646 bytes (added by nacin, 20 months ago)
  • wp-admin/edit-form-advanced.php

     
    122122        if ( count( $revisions ) > 1 ) { 
    123123                reset( $revisions ); // Reset pointer for key() 
    124124                $publish_callback_args = array( 'revisions_count' => count( $revisions ), 'revision_id' => key( $revisions ) ); 
    125                 // add_meta_box('revisionsdiv', __('Revisions'), 'post_revisions_meta_box', null, 'normal', 'core'); 
     125                add_meta_box('revisionsdiv', __('Revisions'), 'post_revisions_meta_box', null, 'normal', 'core'); 
    126126        } 
    127127} 
    128128