From 21175d59a75c7947930af276c4ef0a491358a1bd Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Mon, 21 Nov 2016 21:32:58 +0000 Subject: [PATCH] Plugin install: De-duplicate a conditional, introduced in [38172]. props ChrisWiegman. fixes #38190. git-svn-id: https://develop.svn.wordpress.org/trunk@39336 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/plugin-install.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/wp-admin/plugin-install.php b/src/wp-admin/plugin-install.php index 69df6f844f..490e671d3e 100644 --- a/src/wp-admin/plugin-install.php +++ b/src/wp-admin/plugin-install.php @@ -129,7 +129,7 @@ include(ABSPATH . 'wp-admin/admin-header.php'); * Output the upload plugin form on every non-upload plugin install screen, so it can be * displayed via JavaScript rather then opening up the devoted upload plugin page. */ -if ( $tab !== 'upload' ) { +if ( 'upload' !== $tab ) { ?>
views(); echo '
'; }