WordPress.org

Make WordPress Core

Ticket #19573: 19573.diff

File 19573.diff, 2.6 KB (added by nacin, 4 years ago)
  • wp-admin/includes/plugin-install.php

     
    167167add_action('install_plugins_featured', 'display_plugins_table'); 
    168168add_action('install_plugins_popular', 'display_plugins_table'); 
    169169add_action('install_plugins_new', 'display_plugins_table'); 
    170 add_action('install_plugins_updated', 'display_plugins_table'); 
    171170 
    172171/** 
    173172 * Determine the status we can perform on a plugin. 
  • wp-admin/plugin-install.php

     
    4646'title'         => __('Adding Plugins'), 
    4747'content'       => 
    4848        '<p>' . __('If you know what you&#8217;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&#8217;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>' . 
     49        '<p>' . __('If you just want to get an idea of what&#8217;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>' . 
    5050        '<p>' . __('If you want to install a plugin that you&#8217;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>' 
    5151) ); 
    5252 
  • wp-admin/includes/class-wp-plugin-install-list-table.php

     
    3333                $tabs['featured'] = _x( 'Featured','Plugin Installer' ); 
    3434                $tabs['popular']  = _x( 'Popular','Plugin Installer' ); 
    3535                $tabs['new']      = _x( 'Newest','Plugin Installer' ); 
    36                 $tabs['updated']  = _x( 'Recently Updated','Plugin Installer' ); 
    3736 
    3837                $nonmenu_tabs = array( 'plugin-information' ); //Valid actions to perform which do not have a Menu item. 
    3938 
     
    6968                        case 'featured': 
    7069                        case 'popular': 
    7170                        case 'new': 
    72                         case 'updated': 
    7371                                $args['browse'] = $tab; 
    7472                                break; 
    7573