From 6ed7794598cac1c7ecf738189816803abb884e2a Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 1 Aug 2013 17:06:38 +0000 Subject: [PATCH] Restore the revisions meta box for 3.6. Hidden by default as before. Can be useful for a few lingering use cases. see #24804. git-svn-id: http://core.svn.wordpress.org/trunk@24955 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-form-advanced.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 22a6abe6e2..e656dd5d60 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -122,7 +122,7 @@ if ( post_type_supports($post_type, 'revisions') && 'auto-draft' != $post->post_ if ( count( $revisions ) > 1 ) { reset( $revisions ); // Reset pointer for key() $publish_callback_args = array( 'revisions_count' => count( $revisions ), 'revision_id' => key( $revisions ) ); - // add_meta_box('revisionsdiv', __('Revisions'), 'post_revisions_meta_box', null, 'normal', 'core'); + add_meta_box('revisionsdiv', __('Revisions'), 'post_revisions_meta_box', null, 'normal', 'core'); } }