Remove 'Recently Updated' from plugin installer. Props nacin. see #19573
git-svn-id: https://develop.svn.wordpress.org/trunk@19627 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7f6061b728
commit
f009eb7170
@ -33,7 +33,6 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
||||
$tabs['featured'] = _x( 'Featured','Plugin Installer' );
|
||||
$tabs['popular'] = _x( 'Popular','Plugin Installer' );
|
||||
$tabs['new'] = _x( 'Newest','Plugin Installer' );
|
||||
$tabs['updated'] = _x( 'Recently Updated','Plugin Installer' );
|
||||
|
||||
$nonmenu_tabs = array( 'plugin-information' ); //Valid actions to perform which do not have a Menu item.
|
||||
|
||||
@ -69,7 +68,6 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
||||
case 'featured':
|
||||
case 'popular':
|
||||
case 'new':
|
||||
case 'updated':
|
||||
$args['browse'] = $tab;
|
||||
break;
|
||||
|
||||
|
@ -167,7 +167,6 @@ add_action('install_plugins_search', 'display_plugins_table');
|
||||
add_action('install_plugins_featured', 'display_plugins_table');
|
||||
add_action('install_plugins_popular', 'display_plugins_table');
|
||||
add_action('install_plugins_new', 'display_plugins_table');
|
||||
add_action('install_plugins_updated', 'display_plugins_table');
|
||||
|
||||
/**
|
||||
* Determine the status we can perform on a plugin.
|
||||
|
@ -46,7 +46,7 @@ get_current_screen()->add_help_tab( array(
|
||||
'title' => __('Adding Plugins'),
|
||||
'content' =>
|
||||
'<p>' . __('If you know what you’re looking for, Search is your best bet. The Search screen has options to search the WordPress.org Plugin Directory for a particular Term, Author, or Tag. You can also search the directory by selecting a popular tags. Tags in larger type mean more plugins have been labeled with that tag.') . '</p>' .
|
||||
'<p>' . __('If you just want to get an idea of what’s available, you can browse Featured, Popular, Newest, and Recently Updated plugins by using the links in the upper left of the screen. These sections rotate regularly.') . '</p>' .
|
||||
'<p>' . __('If you just want to get an idea of what’s available, you can browse Featured, Popular, and Newest plugins by using the links in the upper left of the screen. These sections rotate regularly.') . '</p>' .
|
||||
'<p>' . __('If you want to install a plugin that you’ve downloaded elsewhere, click the Upload in the upper left. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin.') . '</p>'
|
||||
) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user