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:
parent
a8a015c3c0
commit
21175d59a7
@ -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 ) {
|
||||
?>
|
||||
<div class="upload-plugin-wrap">
|
||||
<?php
|
||||
@ -138,9 +138,6 @@ if ( $tab !== 'upload' ) {
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
if ( $tab !== 'upload' ) {
|
||||
$wp_list_table->views();
|
||||
echo '<br class="clear" />';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user