wp_dashboard_primary

The timeline below displays how wordpress function wp_dashboard_primary has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.5

/**
 * 'WordPress Events and News' dashboard widget.
 *
 * @since 2.7.0
 * @since 4.8.0 Removed popular plugins feed.
 */
function wp_dashboard_primary()
{
    $feeds = array('news' => array(
        /**
         * Filters the primary link URL for the 'WordPress Events and News' dashboard widget.
         *
         * @since 2.5.0
         *
         * @param string $link The widget's primary link URL.
         */
        'link' => apply_filters('dashboard_primary_link', __('https://wordpress.org/news/')),
        /**
         * Filters the primary feed URL for the 'WordPress Events and News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $url The widget's primary feed URL.
         */
        'url' => apply_filters('dashboard_primary_feed', __('https://wordpress.org/news/feed/')),
        /**
         * Filters the primary link title for the 'WordPress Events and News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $title Title attribute for the widget's primary link.
         */
        'title' => apply_filters('dashboard_primary_title', __('WordPress Blog')),
        'items' => 2,
        'show_summary' => 0,
        'show_author' => 0,
        'show_date' => 0,
    ), 'planet' => array(
        /**
         * Filters the secondary link URL for the 'WordPress Events and News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $link The widget's secondary link URL.
         */
        'link' => apply_filters(
            'dashboard_secondary_link',
            /* translators: Link to the Planet website of the locale. */
            __('https://planet.wordpress.org/')
        ),
        /**
         * Filters the secondary feed URL for the 'WordPress Events and News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $url The widget's secondary feed URL.
         */
        'url' => apply_filters(
            'dashboard_secondary_feed',
            /* translators: Link to the Planet feed of the locale. */
            __('https://planet.wordpress.org/feed/')
        ),
        /**
         * Filters the secondary link title for the 'WordPress Events and News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $title Title attribute for the widget's secondary link.
         */
        'title' => apply_filters('dashboard_secondary_title', __('Other WordPress News')),
        /**
         * Filters the number of secondary link items for the 'WordPress Events and News' dashboard widget.
         *
         * @since 4.4.0
         *
         * @param string $items How many items to show in the secondary feed.
         */
        'items' => apply_filters('dashboard_secondary_items', 3),
        'show_summary' => 0,
        'show_author' => 0,
        'show_date' => 0,
    ));
    wp_dashboard_cached_rss_widget('dashboard_primary', 'wp_dashboard_primary_output', $feeds);
}

WordPress Version: 5.6

/**
 * 'WordPress Events and News' dashboard widget.
 *
 * @since 2.7.0
 * @since 4.8.0 Removed popular plugins feed.
 */
function wp_dashboard_primary()
{
    $feeds = array('news' => array(
        /**
         * Filters the primary link URL for the 'WordPress Events and News' dashboard widget.
         *
         * @since 2.5.0
         *
         * @param string $link The widget's primary link URL.
         */
        'link' => apply_filters('dashboard_primary_link', __('https://wordpress.org/news/')),
        /**
         * Filters the primary feed URL for the 'WordPress Events and News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $url The widget's primary feed URL.
         */
        'url' => apply_filters('dashboard_primary_feed', __('https://wordpress.org/news/feed/')),
        /**
         * Filters the primary link title for the 'WordPress Events and News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $title Title attribute for the widget's primary link.
         */
        'title' => apply_filters('dashboard_primary_title', __('WordPress Blog')),
        'items' => 2,
        'show_summary' => 0,
        'show_author' => 0,
        'show_date' => 0,
    ), 'planet' => array(
        /**
         * Filters the secondary link URL for the 'WordPress Events and News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $link The widget's secondary link URL.
         */
        'link' => apply_filters('dashboard_secondary_link', __('https://planet.wordpress.org/')),
        /**
         * Filters the secondary feed URL for the 'WordPress Events and News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $url The widget's secondary feed URL.
         */
        'url' => apply_filters('dashboard_secondary_feed', __('https://planet.wordpress.org/feed/')),
        /**
         * Filters the secondary link title for the 'WordPress Events and News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $title Title attribute for the widget's secondary link.
         */
        'title' => apply_filters('dashboard_secondary_title', __('Other WordPress News')),
        /**
         * Filters the number of secondary link items for the 'WordPress Events and News' dashboard widget.
         *
         * @since 4.4.0
         *
         * @param string $items How many items to show in the secondary feed.
         */
        'items' => apply_filters('dashboard_secondary_items', 3),
        'show_summary' => 0,
        'show_author' => 0,
        'show_date' => 0,
    ));
    wp_dashboard_cached_rss_widget('dashboard_primary', 'wp_dashboard_primary_output', $feeds);
}

WordPress Version: 5.1

/**
 * 'WordPress Events and News' dashboard widget.
 *
 * @since 2.7.0
 * @since 4.8.0 Removed popular plugins feed.
 */
function wp_dashboard_primary()
{
    $feeds = array('news' => array(
        /**
         * Filters the primary link URL for the 'WordPress Events and News' dashboard widget.
         *
         * @since 2.5.0
         *
         * @param string $link The widget's primary link URL.
         */
        'link' => apply_filters('dashboard_primary_link', __('https://wordpress.org/news/')),
        /**
         * Filters the primary feed URL for the 'WordPress Events and News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $url The widget's primary feed URL.
         */
        'url' => apply_filters('dashboard_primary_feed', __('https://wordpress.org/news/feed/')),
        /**
         * Filters the primary link title for the 'WordPress Events and News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $title Title attribute for the widget's primary link.
         */
        'title' => apply_filters('dashboard_primary_title', __('WordPress Blog')),
        'items' => 1,
        'show_summary' => 0,
        'show_author' => 0,
        'show_date' => 0,
    ), 'planet' => array(
        /**
         * Filters the secondary link URL for the 'WordPress Events and News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $link The widget's secondary link URL.
         */
        'link' => apply_filters('dashboard_secondary_link', __('https://planet.wordpress.org/')),
        /**
         * Filters the secondary feed URL for the 'WordPress Events and News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $url The widget's secondary feed URL.
         */
        'url' => apply_filters('dashboard_secondary_feed', __('https://planet.wordpress.org/feed/')),
        /**
         * Filters the secondary link title for the 'WordPress Events and News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $title Title attribute for the widget's secondary link.
         */
        'title' => apply_filters('dashboard_secondary_title', __('Other WordPress News')),
        /**
         * Filters the number of secondary link items for the 'WordPress Events and News' dashboard widget.
         *
         * @since 4.4.0
         *
         * @param string $items How many items to show in the secondary feed.
         */
        'items' => apply_filters('dashboard_secondary_items', 3),
        'show_summary' => 0,
        'show_author' => 0,
        'show_date' => 0,
    ));
    wp_dashboard_cached_rss_widget('dashboard_primary', 'wp_dashboard_primary_output', $feeds);
}

WordPress Version: 4.8

/**
 * WordPress News dashboard widget.
 *
 * @since 2.7.0
 * @since 4.8.0 Removed popular plugins feed.
 */
function wp_dashboard_primary()
{
    $feeds = array('news' => array(
        /**
         * Filters the primary link URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.5.0
         *
         * @param string $link The widget's primary link URL.
         */
        'link' => apply_filters('dashboard_primary_link', __('https://wordpress.org/news/')),
        /**
         * Filters the primary feed URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $url The widget's primary feed URL.
         */
        'url' => apply_filters('dashboard_primary_feed', __('http://wordpress.org/news/feed/')),
        /**
         * Filters the primary link title for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $title Title attribute for the widget's primary link.
         */
        'title' => apply_filters('dashboard_primary_title', __('WordPress Blog')),
        'items' => 1,
        'show_summary' => 0,
        'show_author' => 0,
        'show_date' => 0,
    ), 'planet' => array(
        /**
         * Filters the secondary link URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $link The widget's secondary link URL.
         */
        'link' => apply_filters('dashboard_secondary_link', __('https://planet.wordpress.org/')),
        /**
         * Filters the secondary feed URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $url The widget's secondary feed URL.
         */
        'url' => apply_filters('dashboard_secondary_feed', __('https://planet.wordpress.org/feed/')),
        /**
         * Filters the secondary link title for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $title Title attribute for the widget's secondary link.
         */
        'title' => apply_filters('dashboard_secondary_title', __('Other WordPress News')),
        /**
         * Filters the number of secondary link items for the 'WordPress News' dashboard widget.
         *
         * @since 4.4.0
         *
         * @param string $items How many items to show in the secondary feed.
         */
        'items' => apply_filters('dashboard_secondary_items', 3),
        'show_summary' => 0,
        'show_author' => 0,
        'show_date' => 0,
    ));
    wp_dashboard_cached_rss_widget('dashboard_primary', 'wp_dashboard_primary_output', $feeds);
}

WordPress Version: 4.7

/**
 * WordPress News dashboard widget.
 *
 * @since 2.7.0
 */
function wp_dashboard_primary()
{
    $feeds = array('news' => array(
        /**
         * Filters the primary link URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.5.0
         *
         * @param string $link The widget's primary link URL.
         */
        'link' => apply_filters('dashboard_primary_link', __('https://wordpress.org/news/')),
        /**
         * Filters the primary feed URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $url The widget's primary feed URL.
         */
        'url' => apply_filters('dashboard_primary_feed', __('http://wordpress.org/news/feed/')),
        /**
         * Filters the primary link title for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $title Title attribute for the widget's primary link.
         */
        'title' => apply_filters('dashboard_primary_title', __('WordPress Blog')),
        'items' => 1,
        'show_summary' => 1,
        'show_author' => 0,
        'show_date' => 1,
    ), 'planet' => array(
        /**
         * Filters the secondary link URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $link The widget's secondary link URL.
         */
        'link' => apply_filters('dashboard_secondary_link', __('https://planet.wordpress.org/')),
        /**
         * Filters the secondary feed URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $url The widget's secondary feed URL.
         */
        'url' => apply_filters('dashboard_secondary_feed', __('https://planet.wordpress.org/feed/')),
        /**
         * Filters the secondary link title for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $title Title attribute for the widget's secondary link.
         */
        'title' => apply_filters('dashboard_secondary_title', __('Other WordPress News')),
        /**
         * Filters the number of secondary link items for the 'WordPress News' dashboard widget.
         *
         * @since 4.4.0
         *
         * @param string $items How many items to show in the secondary feed.
         */
        'items' => apply_filters('dashboard_secondary_items', 3),
        'show_summary' => 0,
        'show_author' => 0,
        'show_date' => 0,
    ));
    if ((!defined('DISALLOW_FILE_MODS') || !DISALLOW_FILE_MODS) && (!is_multisite() && is_blog_admin() && current_user_can('install_plugins')) || is_network_admin() && current_user_can('manage_network_plugins') && current_user_can('install_plugins')) {
        $feeds['plugins'] = array('link' => '', 'url' => array('popular' => 'http://wordpress.org/plugins/rss/browse/popular/'), 'title' => '', 'items' => 1, 'show_summary' => 0, 'show_author' => 0, 'show_date' => 0);
    }
    wp_dashboard_cached_rss_widget('dashboard_primary', 'wp_dashboard_primary_output', $feeds);
}

WordPress Version: 4.6

/**
 * WordPress News dashboard widget.
 *
 * @since 2.7.0
 */
function wp_dashboard_primary()
{
    $feeds = array('news' => array(
        /**
         * Filters the primary link URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.5.0
         *
         * @param string $link The widget's primary link URL.
         */
        'link' => apply_filters('dashboard_primary_link', __('https://wordpress.org/news/')),
        /**
         * Filters the primary feed URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $url The widget's primary feed URL.
         */
        'url' => apply_filters('dashboard_primary_feed', __('http://wordpress.org/news/feed/')),
        /**
         * Filters the primary link title for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $title Title attribute for the widget's primary link.
         */
        'title' => apply_filters('dashboard_primary_title', __('WordPress Blog')),
        'items' => 1,
        'show_summary' => 1,
        'show_author' => 0,
        'show_date' => 1,
    ), 'planet' => array(
        /**
         * Filters the secondary link URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $link The widget's secondary link URL.
         */
        'link' => apply_filters('dashboard_secondary_link', __('https://planet.wordpress.org/')),
        /**
         * Filters the secondary feed URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $url The widget's secondary feed URL.
         */
        'url' => apply_filters('dashboard_secondary_feed', __('https://planet.wordpress.org/feed/')),
        /**
         * Filters the secondary link title for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $title Title attribute for the widget's secondary link.
         */
        'title' => apply_filters('dashboard_secondary_title', __('Other WordPress News')),
        /**
         * Filters the number of secondary link items for the 'WordPress News' dashboard widget.
         *
         * @since 4.4.0
         *
         * @param string $items How many items to show in the secondary feed.
         */
        'items' => apply_filters('dashboard_secondary_items', 3),
        'show_summary' => 0,
        'show_author' => 0,
        'show_date' => 0,
    ));
    if (!is_multisite() && is_blog_admin() && current_user_can('install_plugins') || is_network_admin() && current_user_can('manage_network_plugins') && current_user_can('install_plugins')) {
        $feeds['plugins'] = array('link' => '', 'url' => array('popular' => 'http://wordpress.org/plugins/rss/browse/popular/'), 'title' => '', 'items' => 1, 'show_summary' => 0, 'show_author' => 0, 'show_date' => 0);
    }
    wp_dashboard_cached_rss_widget('dashboard_primary', 'wp_dashboard_primary_output', $feeds);
}

WordPress Version: 4.4

/**
 * WordPress News dashboard widget.
 *
 * @since 2.7.0
 */
function wp_dashboard_primary()
{
    $feeds = array('news' => array(
        /**
         * Filter the primary link URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.5.0
         *
         * @param string $link The widget's primary link URL.
         */
        'link' => apply_filters('dashboard_primary_link', __('https://wordpress.org/news/')),
        /**
         * Filter the primary feed URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $url The widget's primary feed URL.
         */
        'url' => apply_filters('dashboard_primary_feed', __('http://wordpress.org/news/feed/')),
        /**
         * Filter the primary link title for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $title Title attribute for the widget's primary link.
         */
        'title' => apply_filters('dashboard_primary_title', __('WordPress Blog')),
        'items' => 1,
        'show_summary' => 1,
        'show_author' => 0,
        'show_date' => 1,
    ), 'planet' => array(
        /**
         * Filter the secondary link URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $link The widget's secondary link URL.
         */
        'link' => apply_filters('dashboard_secondary_link', __('https://planet.wordpress.org/')),
        /**
         * Filter the secondary feed URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $url The widget's secondary feed URL.
         */
        'url' => apply_filters('dashboard_secondary_feed', __('https://planet.wordpress.org/feed/')),
        /**
         * Filter the secondary link title for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $title Title attribute for the widget's secondary link.
         */
        'title' => apply_filters('dashboard_secondary_title', __('Other WordPress News')),
        /**
         * Filter the number of secondary link items for the 'WordPress News' dashboard widget.
         *
         * @since 4.4.0
         *
         * @param string $items How many items to show in the secondary feed.
         */
        'items' => apply_filters('dashboard_secondary_items', 3),
        'show_summary' => 0,
        'show_author' => 0,
        'show_date' => 0,
    ));
    if (!is_multisite() && is_blog_admin() && current_user_can('install_plugins') || is_network_admin() && current_user_can('manage_network_plugins') && current_user_can('install_plugins')) {
        $feeds['plugins'] = array('link' => '', 'url' => array('popular' => 'http://wordpress.org/plugins/rss/browse/popular/'), 'title' => '', 'items' => 1, 'show_summary' => 0, 'show_author' => 0, 'show_date' => 0);
    }
    wp_dashboard_cached_rss_widget('dashboard_primary', 'wp_dashboard_primary_output', $feeds);
}

WordPress Version: 4.1

/**
 * WordPress News dashboard widget.
 *
 * @since 2.7.0
 */
function wp_dashboard_primary()
{
    $feeds = array('news' => array(
        /**
         * Filter the primary link URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.5.0
         *
         * @param string $link The widget's primary link URL.
         */
        'link' => apply_filters('dashboard_primary_link', __('http://wordpress.org/news/')),
        /**
         * Filter the primary feed URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $url The widget's primary feed URL.
         */
        'url' => apply_filters('dashboard_primary_feed', __('http://wordpress.org/news/feed/')),
        /**
         * Filter the primary link title for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $title Title attribute for the widget's primary link.
         */
        'title' => apply_filters('dashboard_primary_title', __('WordPress Blog')),
        'items' => 1,
        'show_summary' => 1,
        'show_author' => 0,
        'show_date' => 1,
    ), 'planet' => array(
        /**
         * Filter the secondary link URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $link The widget's secondary link URL.
         */
        'link' => apply_filters('dashboard_secondary_link', __('https://planet.wordpress.org/')),
        /**
         * Filter the secondary feed URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $url The widget's secondary feed URL.
         */
        'url' => apply_filters('dashboard_secondary_feed', __('https://planet.wordpress.org/feed/')),
        /**
         * Filter the secondary link title for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $title Title attribute for the widget's secondary link.
         */
        'title' => apply_filters('dashboard_secondary_title', __('Other WordPress News')),
        'items' => 3,
        'show_summary' => 0,
        'show_author' => 0,
        'show_date' => 0,
    ));
    if (!is_multisite() && is_blog_admin() && current_user_can('install_plugins') || is_network_admin() && current_user_can('manage_network_plugins') && current_user_can('install_plugins')) {
        $feeds['plugins'] = array('link' => '', 'url' => array('popular' => 'http://wordpress.org/plugins/rss/browse/popular/'), 'title' => '', 'items' => 1, 'show_summary' => 0, 'show_author' => 0, 'show_date' => 0);
    }
    wp_dashboard_cached_rss_widget('dashboard_primary', 'wp_dashboard_primary_output', $feeds);
}

WordPress Version: 3.9

/**
 * WordPress News dashboard widget.
 *
 * @since 2.7.0
 */
function wp_dashboard_primary()
{
    $feeds = array('news' => array(
        /**
         * Filter the primary link URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.5.0
         *
         * @param string $link The widget's primary link URL.
         */
        'link' => apply_filters('dashboard_primary_link', __('http://wordpress.org/news/')),
        /**
         * Filter the primary feed URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $url The widget's primary feed URL.
         */
        'url' => apply_filters('dashboard_primary_feed', __('http://wordpress.org/news/feed/')),
        /**
         * Filter the primary link title for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $title Title attribute for the widget's primary link.
         */
        'title' => apply_filters('dashboard_primary_title', __('WordPress Blog')),
        'items' => 1,
        'show_summary' => 1,
        'show_author' => 0,
        'show_date' => 1,
    ), 'planet' => array(
        /**
         * Filter the secondary link URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $link The widget's secondary link URL.
         */
        'link' => apply_filters('dashboard_secondary_link', __('http://planet.wordpress.org/')),
        /**
         * Filter the secondary feed URL for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $url The widget's secondary feed URL.
         */
        'url' => apply_filters('dashboard_secondary_feed', __('http://planet.wordpress.org/feed/')),
        /**
         * Filter the secondary link title for the 'WordPress News' dashboard widget.
         *
         * @since 2.3.0
         *
         * @param string $title Title attribute for the widget's secondary link.
         */
        'title' => apply_filters('dashboard_secondary_title', __('Other WordPress News')),
        'items' => 3,
        'show_summary' => 0,
        'show_author' => 0,
        'show_date' => 0,
    ));
    if (!is_multisite() && is_blog_admin() && current_user_can('install_plugins') || is_network_admin() && current_user_can('manage_network_plugins') && current_user_can('install_plugins')) {
        $feeds['plugins'] = array('link' => '', 'url' => array('popular' => 'http://wordpress.org/plugins/rss/browse/popular/'), 'title' => '', 'items' => 1, 'show_summary' => 0, 'show_author' => 0, 'show_date' => 0);
    }
    wp_dashboard_cached_rss_widget('dashboard_primary', 'wp_dashboard_primary_output', $feeds);
}

WordPress Version: 3.8

/**
 * WordPress News dashboard widget.
 *
 * @since 2.7.0
 */
function wp_dashboard_primary()
{
    $feeds = array('news' => array('link' => apply_filters('dashboard_primary_link', __('http://wordpress.org/news/')), 'url' => apply_filters('dashboard_primary_feed', __('http://wordpress.org/news/feed/')), 'title' => apply_filters('dashboard_primary_title', __('WordPress Blog')), 'items' => 1, 'show_summary' => 1, 'show_author' => 0, 'show_date' => 1), 'planet' => array('link' => apply_filters('dashboard_secondary_link', __('http://planet.wordpress.org/')), 'url' => apply_filters('dashboard_secondary_feed', __('http://planet.wordpress.org/feed/')), 'title' => apply_filters('dashboard_secondary_title', __('Other WordPress News')), 'items' => 3, 'show_summary' => 0, 'show_author' => 0, 'show_date' => 0));
    if (!is_multisite() && is_blog_admin() && current_user_can('install_plugins') || is_network_admin() && current_user_can('manage_network_plugins') && current_user_can('install_plugins')) {
        $feeds['plugins'] = array('link' => '', 'url' => array('popular' => 'http://wordpress.org/plugins/rss/browse/popular/'), 'title' => '', 'items' => 1, 'show_summary' => 0, 'show_author' => 0, 'show_date' => 0);
    }
    wp_dashboard_cached_rss_widget('dashboard_primary', 'wp_dashboard_primary_output', $feeds);
}

WordPress Version: 3.7

function wp_dashboard_primary()
{
    wp_dashboard_cached_rss_widget('dashboard_primary', 'wp_dashboard_rss_output');
}