Ticket #13486: 13486.8.diff
| File 13486.8.diff, 5.2 KB (added by , 16 years ago) |
|---|
-
wp-admin/css/colors-fresh.dev.css
1081 1081 border-top: none !important; 1082 1082 } 1083 1083 1084 #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu {1085 border-bottom: #aaa 1px solid;1086 }1087 1088 1084 #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, 1089 #adminmenu .menu-top.current {1085 #adminmenu a.menu-top.current { 1090 1086 background: #aaa url(../images/menu-bits.gif) top left repeat-x; 1091 border -color: #aaa;1087 border: #aaa 1px solid; 1092 1088 color: #000; 1093 1089 text-shadow: #fff 0px 1px 0px; 1094 1090 } -
wp-admin/css/wp-admin.dev.css
1192 1192 float: left; 1193 1193 display: block; 1194 1194 padding: 0 6px; 1195 text-shadow: none; 1195 1196 } 1196 1197 1197 1198 #adminmenu li span.count-0, -
wp-admin/includes/theme.php
242 242 $update_onclick = 'onclick="if ( confirm(\'' . esc_js( __("Upgrading this theme will lose any customizations you have made. 'Cancel' to stop, 'OK' to upgrade.") ) . '\') ) {return true;}return false;"'; 243 243 244 244 if ( ! current_user_can('update_themes') ) 245 printf( '<p><strong>' . __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%1$s">View version %3$s Details</a>.') . '</strong></p>', $theme_name, $details_url, $update['new_version']);245 printf( '<p><strong>' . __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%1$s">View version %3$s details</a>.') . '</strong></p>', $theme_name, $details_url, $update['new_version']); 246 246 else if ( empty($update['package']) ) 247 printf( '<p><strong>' . __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%1$s">View version %3$s Details</a> <em>automatic upgrade unavailable for this theme</em>.') . '</strong></p>', $theme_name, $details_url, $update['new_version']);247 printf( '<p><strong>' . __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%1$s">View version %3$s details</a> <em>automatic upgrade unavailable for this theme</em>.') . '</strong></p>', $theme_name, $details_url, $update['new_version']); 248 248 else 249 printf( '<p><strong>' . __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%1$s">View version %3$s Details</a> or <a href="%4$s" %5$s>upgrade automatically</a>.') . '</strong></p>', $theme_name, $details_url, $update['new_version'], $update_url, $update_onclick );249 printf( '<p><strong>' . __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%1$s">View version %3$s details</a> or <a href="%4$s" %5$s>upgrade automatically</a>.') . '</strong></p>', $theme_name, $details_url, $update['new_version'], $update_url, $update_onclick ); 250 250 } 251 251 } 252 252 -
wp-admin/includes/update.php
194 194 195 195 echo '<tr class="plugin-update-tr"><td colspan="3" class="plugin-update"><div class="update-message">'; 196 196 if ( ! current_user_can('update_plugins') ) 197 printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%3$s">View version %4$s Details</a>.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version );197 printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%3$s">View version %4$s details</a>.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version ); 198 198 else if ( empty($r->package) ) 199 printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%3$s">View version %4$s Details</a> <em>automatic upgrade unavailable for this plugin</em>.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version );199 printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%3$s">View version %4$s details</a> <em>automatic upgrade unavailable for this plugin</em>.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version ); 200 200 else 201 printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%3$s">View version %4$s Details</a> or <a href="%5$s">upgrade automatically</a>.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version, wp_nonce_url('update.php?action=upgrade-plugin&plugin=' . $file, 'upgrade-plugin_' . $file) );201 printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%3$s">View version %4$s details</a> or <a href="%5$s">upgrade automatically</a>.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version, wp_nonce_url('update.php?action=upgrade-plugin&plugin=' . $file, 'upgrade-plugin_' . $file) ); 202 202 203 203 do_action( "in_plugin_update_message-$file", $plugin_data, $r ); 204 204