WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/14/2008 06:16:29 PM (10 years ago)
Author:
ryan
Message:

Mark dashboard feed links for translation so they can be localized. Props tai. fixes #6222

File:
1 edited

Legend:

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

    r7283 r7292  
    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,
     
    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
Note: See TracChangeset for help on using the changeset viewer.