WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/11/09 19:44:21 (9 years ago)
Author:
ryan
Message:

Add locale upgrade hint. Props nbachiyski. fixes #8729

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/update-core.php

    r11245 r11273  
    1414 
    1515function list_core_update( $update ) { 
     16    global $wp_local_package; 
    1617    $version_string = 'en_US' == $update->locale ? 
    1718            $update->current : sprintf("%s&ndash;<strong>%s</strong>", $update->current, $update->locale); 
     
    5152            echo '<input id="undismiss" class="button" type="submit" value="' . esc_attr__('Bring back this update') . '" name="undismiss" />'; 
    5253    echo '</p>'; 
     54    if ( 'en_US' != $update->locale && ( !isset($wp_local_package) || $wp_local_package != $update->locale ) ) 
     55        echo '<p class="hint">'.__('This localized version contains both the translation and various other localization fixes. You can skip upgrading if you want to keep your current translation.').'</p>'; 
    5356    echo '</form>'; 
    5457 
Note: See TracChangeset for help on using the changeset viewer.