From 66c719f214712a94b0739a539c904e148e4569b7 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 29 May 2008 23:16:11 +0000 Subject: [PATCH] Validation fixes for post revisions. Props mdawaffe. see #6775 git-svn-id: https://develop.svn.wordpress.org/trunk@8012 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/css/colors-classic.css | 2 +- wp-admin/css/colors-fresh.css | 2 +- wp-admin/revision.php | 10 ++++++++-- wp-admin/wp-admin.css | 5 ++++- wp-includes/post-template.php | 6 +++++- 5 files changed, 19 insertions(+), 6 deletions(-) diff --git a/wp-admin/css/colors-classic.css b/wp-admin/css/colors-classic.css index b733ab6987..53c46fb1c6 100644 --- a/wp-admin/css/colors-classic.css +++ b/wp-admin/css/colors-classic.css @@ -2,7 +2,7 @@ a.page-numbers:hover { border-color: #999; } -body, .form-table pre { +body, .form-table .pre { background-color: #fff; color: #333; } diff --git a/wp-admin/css/colors-fresh.css b/wp-admin/css/colors-fresh.css index 1197564aca..fb76609a58 100644 --- a/wp-admin/css/colors-fresh.css +++ b/wp-admin/css/colors-fresh.css @@ -2,7 +2,7 @@ a.page-numbers:hover { border-color: #999; } -body, .form-table pre { +body, .form-table .pre { background-color: #fff; color: #333; } diff --git a/wp-admin/revision.php b/wp-admin/revision.php index f7f6275690..a00fa8153b 100644 --- a/wp-admin/revision.php +++ b/wp-admin/revision.php @@ -146,7 +146,7 @@ require_once( 'admin-header.php' ); - + $field_title ) : -
+
+ + + +\n"; - $rows .= "\t\n"; + $rows .= "\t\n"; $rows .= "\t$date\n"; $rows .= "\t$name\n"; $rows .= "\t$actions\n"; @@ -707,10 +707,12 @@ function wp_list_post_revisions( $post_id = 0, $args = null ) { // TODO? split i + + @@ -719,6 +721,8 @@ function wp_list_post_revisions( $post_id = 0, $args = null ) { // TODO? split i + + \n";