Make WordPress Core


Ignore:
Timestamp:
08/27/2014 02:52:29 AM (11 years ago)
Author:
nacin
Message:

Plugin installer: Minor adjustments to aid with discovery.

fixes #29387.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php

    r29634 r29636  
    6565        $tabs['featured']  = _x( 'Featured', 'Plugin Installer' );
    6666        $tabs['popular']   = _x( 'Popular', 'Plugin Installer' );
    67         $tabs['new']       = _x( 'Newest', 'Plugin Installer' );
    6867        $tabs['favorites'] = _x( 'Favorites', 'Plugin Installer' );
    6968        if ( $tab === 'beta' || false !== strpos( $GLOBALS['wp_version'], '-' ) ) {
     
    274273
    275274    protected function display_tablenav( $which ) {
     275        if ( $GLOBALS['tab'] === 'featured' ) {
     276            return;
     277        }
     278
    276279        if ( 'top' ==  $which ) { ?>
    277280            <div class="tablenav top">
Note: See TracChangeset for help on using the changeset viewer.