Ticket #19573: 19573.diff
File 19573.diff, 2.6 KB (added by , 12 years ago) |
---|
-
wp-admin/includes/plugin-install.php
167 167 add_action('install_plugins_featured', 'display_plugins_table'); 168 168 add_action('install_plugins_popular', 'display_plugins_table'); 169 169 add_action('install_plugins_new', 'display_plugins_table'); 170 add_action('install_plugins_updated', 'display_plugins_table');171 170 172 171 /** 173 172 * Determine the status we can perform on a plugin. -
wp-admin/plugin-install.php
46 46 'title' => __('Adding Plugins'), 47 47 'content' => 48 48 '<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>' . 49 '<p>' . __('If you just want to get an idea of what’s available, you can browse Featured, Popular, Newest, and Recently Updatedplugins by using the links in the upper left of the screen. These sections rotate regularly.') . '</p>' .49 '<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>' . 50 50 '<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>' 51 51 ) ); 52 52 -
wp-admin/includes/class-wp-plugin-install-list-table.php
33 33 $tabs['featured'] = _x( 'Featured','Plugin Installer' ); 34 34 $tabs['popular'] = _x( 'Popular','Plugin Installer' ); 35 35 $tabs['new'] = _x( 'Newest','Plugin Installer' ); 36 $tabs['updated'] = _x( 'Recently Updated','Plugin Installer' );37 36 38 37 $nonmenu_tabs = array( 'plugin-information' ); //Valid actions to perform which do not have a Menu item. 39 38 … … 69 68 case 'featured': 70 69 case 'popular': 71 70 case 'new': 72 case 'updated':73 71 $args['browse'] = $tab; 74 72 break; 75 73