Make WordPress Core

Changeset 39336


Ignore:
Timestamp:
11/21/2016 09:32:58 PM (10 years ago)
Author:
helen
Message:

Plugin install: De-duplicate a conditional, introduced in [38172].

props ChrisWiegman.
fixes #38190.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/plugin-install.php

    r38722 r39336  
    130130 * displayed via JavaScript rather then opening up the devoted upload plugin page.
    131131 */
    132 if ( $tab !== 'upload' ) {
     132if ( 'upload' !== $tab ) {
    133133        ?>
    134134        <div class="upload-plugin-wrap">
     
    139139        </div>
    140140        <?php
    141 }
    142 
    143 if ( $tab !== 'upload' ) {
    144141        $wp_list_table->views();
    145142        echo '<br class="clear" />';
Note: See TracChangeset for help on using the changeset viewer.