From 977c747f43e48cbf46d7110df42215630d0affc4 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Fri, 5 Jul 2013 15:04:24 +0000 Subject: [PATCH] Hide the Revisions meta box content if no-JS, as JS is required to actually do anything with revisions. fixes #24405. props DrewAPicture, MikeHansenMe. git-svn-id: https://develop.svn.wordpress.org/trunk@24557 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post-template.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 88a9b99d41..fdbdaea489 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -1437,7 +1437,9 @@ function wp_list_post_revisions( $post_id = 0, $type = 'all' ) { $rows .= "\t
  • " . wp_post_revision_title_expanded( $revision ) . "
  • \n"; } - echo "