- Timestamp:
- 06/12/2014 06:08:56 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r28493 r28749 35 35 $tabs['new'] = _x( 'Newest', 'Plugin Installer' ); 36 36 $tabs['favorites'] = _x( 'Favorites', 'Plugin Installer' ); 37 if ( $tab === 'beta' || false !== strpos( $GLOBALS['wp_version'], '-' ) ) { 38 $tabs['beta'] = _x( 'Beta Testing', 'Plugin Installer' ); 39 } 37 40 38 41 $nonmenu_tabs = array( 'plugin-information' ); //Valid actions to perform which do not have a Menu item. … … 86 89 case 'popular': 87 90 case 'new': 91 case 'beta': 88 92 $args['browse'] = $tab; 89 93 break;
Note: See TracChangeset
for help on using the changeset viewer.