From 55838e9b556f20274589f7944ce4ba87f9afae33 Mon Sep 17 00:00:00 2001 From: Daryl 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: https://develop.svn.wordpress.org/trunk@20716 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 2a7cca0efa..b0828abf07 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 e97f98f1f2..694ed0fcab 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(); ?>