Make WordPress Core


Ignore:
Timestamp:
01/14/2016 09:06:12 AM (11 years ago)
Author:
swissspidy
Message:

Plugins: Make sure the 'Beta testing' tab is first in the plugin installer.

This makes feature plugins more discoverable for people running development builds.

Fixes #29631.

File:
1 edited

Legend:

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

    r36092 r36297  
    8787
    8888                if ( 'search' === $tab ) {
    89                         $tabs['search'] = __( 'Search Results' );
    90                 }
    91                 $tabs['featured']  = _x( 'Featured', 'Plugin Installer' );
    92                 $tabs['popular']   = _x( 'Popular', 'Plugin Installer' );
    93                 $tabs['recommended']   = _x( 'Recommended', 'Plugin Installer' );
    94                 $tabs['favorites'] = _x( 'Favorites', 'Plugin Installer' );
     89                        $tabs['search'] = __( 'Search Results' );
     90                }
    9591                if ( $tab === 'beta' || false !== strpos( $GLOBALS['wp_version'], '-' ) ) {
    96                         $tabs['beta']      = _x( 'Beta Testing', 'Plugin Installer' );
    97                 }
     92                        $tabs['beta'] = _x( 'Beta Testing', 'Plugin Installer' );
     93                }
     94                $tabs['featured']    = _x( 'Featured', 'Plugin Installer' );
     95                $tabs['popular']     = _x( 'Popular', 'Plugin Installer' );
     96                $tabs['recommended'] = _x( 'Recommended', 'Plugin Installer' );
     97                $tabs['favorites']   = _x( 'Favorites', 'Plugin Installer' );
    9898                if ( current_user_can( 'upload_plugins' ) ) {
    9999                        // No longer a real tab. Here for filter compatibility.
Note: See TracChangeset for help on using the changeset viewer.