From 343d07bb5a7e46e08fe52a07ad6eed8b7ac4a8c3 Mon Sep 17 00:00:00 2001 From: nacin Date: Fri, 10 Jun 2011 22:16:30 +0000 Subject: [PATCH] Fix whitespace discrepancy between Manage Themes and Install Themes tabs. props trepmal. Don't show a single Manage Themes heading as a tab if the user doesn't have install_themes. fixes #17758. git-svn-id: http://svn.automattic.com/wordpress/trunk@18248 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/themes.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/wp-admin/themes.php b/wp-admin/themes.php index dfecd259b..b845e69b5 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -71,15 +71,11 @@ require_once('./admin-header.php');
+if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?>

- + + +