From 8f17fd5034aabdb6eced0da6650fdb240d900feb Mon Sep 17 00:00:00 2001 From: koopersmith Date: Thu, 3 May 2012 17:54:20 +0000 Subject: [PATCH] Fix markup in wp-admin/themes.php. see #20403. * Always print opening form tag. * Always ensure table content clears to the next line. This prevents table content from bunching next to the 'Available Themes' headline, which occurred when only one theme was active on a multisite install. git-svn-id: http://core.svn.wordpress.org/trunk@20716 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/css/wp-admin.dev.css | 4 ++++ wp-admin/themes.php | 10 ++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/wp-admin/css/wp-admin.dev.css b/wp-admin/css/wp-admin.dev.css index 2a7cca0ef..b0828abf0 100644 --- a/wp-admin/css/wp-admin.dev.css +++ b/wp-admin/css/wp-admin.dev.css @@ -7575,6 +7575,10 @@ h3 span { line-height: 180%; } +#filter-box { + clear: both; +} + .feature-filter { padding: 8px 12px 0; } diff --git a/wp-admin/themes.php b/wp-admin/themes.php index e97f98f1f..694ed0fca 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -171,12 +171,12 @@ if ( ! current_user_can( 'switch_themes' ) ) { } ?> +
+

has_items() ) : ?> - - -
-
@@ -224,10 +222,10 @@ if ( ! current_user_can( 'switch_themes' ) ) {
-
- +
+ display(); ?>