Changeset 30782
- Timestamp:
- 12/07/2014 11:39:54 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
r30679 r30782 65 65 $tabs['featured'] = _x( 'Featured', 'Plugin Installer' ); 66 66 $tabs['popular'] = _x( 'Popular', 'Plugin Installer' ); 67 $tabs['recommended'] = _x( 'Recommended', 'Plugin Installer' ); 67 68 $tabs['favorites'] = _x( 'Favorites', 'Plugin Installer' ); 68 69 if ( $tab === 'beta' || false !== strpos( $GLOBALS['wp_version'], '-' ) ) { … … 135 136 case 'new': 136 137 case 'beta': 138 case 'recommended': 137 139 $args['browse'] = $tab; 138 140 break; -
trunk/src/wp-admin/includes/plugin-install.php
r30680 r30782 246 246 <?php 247 247 } 248 add_action( 'install_plugins_search', 'display_plugins_table' ); 249 add_action( 'install_plugins_popular', 'display_plugins_table' ); 250 add_action( 'install_plugins_new', 'display_plugins_table' ); 251 add_action( 'install_plugins_beta', 'display_plugins_table' ); 252 add_action( 'install_plugins_favorites', 'display_plugins_table' ); 248 add_action( 'install_plugins_search', 'display_plugins_table' ); 249 add_action( 'install_plugins_popular', 'display_plugins_table' ); 250 add_action( 'install_plugins_recommended', 'display_plugins_table' ); 251 add_action( 'install_plugins_new', 'display_plugins_table' ); 252 add_action( 'install_plugins_beta', 'display_plugins_table' ); 253 add_action( 'install_plugins_favorites', 'display_plugins_table' ); 253 254 254 255 /**
Note: See TracChangeset
for help on using the changeset viewer.