From 2406fe498c81c2e710b77cb7d932aeb09bc3f841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helen=20Hou-Sand=C3=AD?= Date: Mon, 21 Nov 2016 21:33:30 +0000 Subject: [PATCH] Plugin install: De-duplicate a conditional, introduced in [38172]. props ChrisWiegman. fixes #38190. Built from https://develop.svn.wordpress.org/trunk@39336 git-svn-id: http://core.svn.wordpress.org/trunk@39276 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/plugin-install.php | 5 +---- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/wp-admin/plugin-install.php b/wp-admin/plugin-install.php index 69df6f844f..490e671d3e 100644 --- a/wp-admin/plugin-install.php +++ b/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 '
'; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 451f188245..4f3097d02d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-beta4-39335'; +$wp_version = '4.7-beta4-39336'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.