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
This commit is contained in:
Helen Hou-Sandi 2016-11-21 21:32:58 +00:00
parent a8a015c3c0
commit 21175d59a7
1 changed files with 1 additions and 4 deletions

View File

@ -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 * 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. * displayed via JavaScript rather then opening up the devoted upload plugin page.
*/ */
if ( $tab !== 'upload' ) { if ( 'upload' !== $tab ) {
?> ?>
<div class="upload-plugin-wrap"> <div class="upload-plugin-wrap">
<?php <?php
@ -138,9 +138,6 @@ if ( $tab !== 'upload' ) {
?> ?>
</div> </div>
<?php <?php
}
if ( $tab !== 'upload' ) {
$wp_list_table->views(); $wp_list_table->views();
echo '<br class="clear" />'; echo '<br class="clear" />';
} }