WordPress.org

Make WordPress Core

Changeset 19630


Ignore:
Timestamp:
12/23/2011 12:26:58 AM (6 years ago)
Author:
ryan
Message:

Remove Recently Updated from dash Plugins widget. see #19573

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/dashboard.php

    r19629 r19630  
    938938    wp_dashboard_cached_rss_widget( 'dashboard_plugins', 'wp_dashboard_plugins_output', array(
    939939        'http://wordpress.org/extend/plugins/rss/browse/popular/',
    940         'http://wordpress.org/extend/plugins/rss/browse/new/',
    941         'http://wordpress.org/extend/plugins/rss/browse/updated/'
     940        'http://wordpress.org/extend/plugins/rss/browse/new/'
    942941    ) );
    943942}
     
    951950    $popular = fetch_feed( 'http://wordpress.org/extend/plugins/rss/browse/popular/' );
    952951    $new     = fetch_feed( 'http://wordpress.org/extend/plugins/rss/browse/new/' );
    953     $updated = fetch_feed( 'http://wordpress.org/extend/plugins/rss/browse/updated/' );
    954952
    955953    if ( false === $plugin_slugs = get_transient( 'plugin_slugs' ) ) {
     
    958956    }
    959957
    960     foreach ( array( 'popular' => __('Most Popular'), 'new' => __('Newest Plugins'), 'updated' => __('Recently Updated') ) as $feed => $label ) {
     958    foreach ( array( 'popular' => __('Most Popular'), 'new' => __('Newest Plugins') ) as $feed => $label ) {
    961959        if ( is_wp_error($$feed) || !$$feed->get_item_quantity() )
    962960            continue;
Note: See TracChangeset for help on using the changeset viewer.