Ticket #8729: local-upgrade-hint.diff
| File local-upgrade-hint.diff, 1.5 KB (added by , 17 years ago) |
|---|
-
wp-admin/wp-admin.css
1 2 1 textarea, 3 2 input, 4 3 select { … … 2922 2921 margin-top: 8px; 2923 2922 } 2924 2923 2924 form.upgrade .hint { 2925 font-style: italic; 2926 font-size: 85%; 2927 margin: -0.5em 0 2em 0; 2928 } 2929 2925 2930 #poststuff .inside .the-tagcloud { 2926 2931 margin: 5px 0 10px; 2927 2932 padding: 8px; -
wp-admin/update-core.php
13 13 wp_die(__('You do not have sufficient permissions to update plugins for this blog.')); 14 14 15 15 function list_core_update( $update ) { 16 global $wp_local_package; 16 17 $version_string = 'en_US' == $update->locale ? 17 18 $update->current : sprintf("%s–<strong>%s</strong>", $update->current, $update->locale); 18 19 $current = false; … … 50 51 else 51 52 echo '<input id="undismiss" class="button" type="submit" value="' . attribute_escape(__('Bring back this update')) . '" name="undismiss" />'; 52 53 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>'; 53 56 echo '</form>'; 54 57 55 58 }