WordPress.org

Make WordPress Core

Ticket #6222: dashboard.patch

File dashboard.patch, 1.5 KB (added by tai, 10 years ago)
  • wp-trunk/wp-admin/includes/dashboard.php

     
    6262        if ( !isset( $widget_options['dashboard_primary'] ) ) {
    6363                $update = true;
    6464                $widget_options['dashboard_primary'] = array(
    65                         'link' => apply_filters( 'dashboard_primary_link', 'http://wordpress.org/development/' ),
    66                         'url' => apply_filters( 'dashboard_primary_feed', 'http://wordpress.org/development/feed/' ),
     65                        'link' => apply_filters( 'dashboard_primary_link',  __( 'http://wordpress.org/development/' ) ),
     66                        'url' => apply_filters( 'dashboard_primary_feed',  __( 'http://wordpress.org/development/feed/' ) ),
    6767                        'title' => apply_filters( 'dashboard_primary_title', __( 'WordPress Development Blog' ) ),
    6868                        'items' => 2,
    6969                        'show_summary' => 1,
     
    8484        if ( !isset( $widget_options['dashboard_secondary'] ) ) {
    8585                $update = true;
    8686                $widget_options['dashboard_secondary'] = array(
    87                         'link' => apply_filters( 'dashboard_secondary_link', 'http://planet.wordpress.org/' ),
    88                         'url' => apply_filters( 'dashboard_secondary_feed', 'http://planet.wordpress.org/feed/' ),
     87                        'link' => apply_filters( 'dashboard_secondary_link',  __( 'http://planet.wordpress.org/' ) ),
     88                        'url' => apply_filters( 'dashboard_secondary_feed',  __( 'http://planet.wordpress.org/feed/' ) ),
    8989                        'title' => apply_filters( 'dashboard_secondary_title', __( 'Other WordPress News' ) ),
    9090                        'items' => 15
    9191                );