Changeset 28749
- Timestamp:
- 06/12/2014 06:08:56 PM (10 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 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; -
trunk/src/wp-admin/includes/plugin-install.php
r28301 r28749 237 237 add_action( 'install_plugins_popular', 'display_plugins_table' ); 238 238 add_action( 'install_plugins_new', 'display_plugins_table' ); 239 add_action( 'install_plugins_beta', 'display_plugins_table' ); 239 240 add_action( 'install_plugins_favorites', 'display_plugins_table' ); 240 241
Note: See TracChangeset
for help on using the changeset viewer.