WordPress.org

Make WordPress Core

Ticket #25123: 25123.diff

File 25123.diff, 554 bytes (added by adamsilverstein, 6 years ago)
  • src/wp-admin/edit-form-advanced.php

     
    156156        if ( count( $revisions ) > 1 ) {
    157157                reset( $revisions ); // Reset pointer for key()
    158158                $publish_callback_args = array( 'revisions_count' => count( $revisions ), 'revision_id' => key( $revisions ) );
    159                 add_meta_box('revisionsdiv', __('Revisions'), 'post_revisions_meta_box', null, 'normal', 'core');
    160159        }
    161160}
    162161