From 9f4d6e2d27ec9f3cf5faa0385d16366ab085dc0b Mon Sep 17 00:00:00 2001 From: Andrew 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: https://develop.svn.wordpress.org/trunk@18248 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 dfecd259b1..b845e69b55 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' ) ) : ?>

- + + +