Ticket #11185: 11185.patch
File 11185.patch, 6.1 KB (added by , 15 years ago) |
---|
-
wp-admin/css/colors-fresh.dev.css
435 435 } 436 436 437 437 .update-message { 438 color: #000 000;438 color: #000; 439 439 } 440 440 441 441 a.page-numbers { … … 600 600 } 601 601 602 602 .plugin-update-tr .update-message { 603 background-color: #fffbe4; 604 border-color: #dfdfdf; 603 background-color: #ffffe0; 604 border-color: #E6DB55; 605 color: #444; 605 606 } 606 607 608 .plugin-update-tr .name { 609 color: #000; 610 } 611 607 612 .plugins .active, 608 613 .plugins .active th, 609 614 .plugins .active td { -
wp-admin/includes/update.php
184 184 185 185 echo '<tr class="plugin-update-tr"><td colspan="3" class="plugin-update"><div class="update-message">'; 186 186 if ( ! current_user_can('update_plugins') ) 187 printf( __('There is a new version of %1$savailable. <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 );187 printf( __('There is a new version of <em class="name">%1$s</em> 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 ); 188 188 else if ( empty($r->package) ) 189 printf( __('There is a new version of %1$savailable. <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 );189 printf( __('There is a new version of <em class="name">%1$s</em> 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 ); 190 190 else 191 printf( __('There is a new version of %1$savailable. <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) );191 printf( __('There is a new version of <em class="name">%1$s</em> 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) ); 192 192 193 193 do_action( "in_plugin_update_message-$file", $plugin_data, $r ); 194 194 -
wp-admin/wp-admin.dev.css
628 628 width: 38%; 629 629 } 630 630 631 #postcustomstuff .submit input { 631 #postcustomstuff .submit input, 632 #postcustomstuff table #addmetasub { 632 633 width: auto; 633 634 } 634 635 … … 636 637 padding: 0 8px; 637 638 } 638 639 639 #postcustomstuff table #addmetasub {640 width: auto;641 }642 643 640 #postcustomstuff #newmetaleft { 644 641 vertical-align: top; 645 642 } … … 893 890 } 894 891 895 892 #wphead #site-visit-button { 896 background-repeat: repeat-x;897 background-position: 0 0;898 -moz-border-radius: 3px;899 -webkit-border-radius: 3px;900 -khtml-border-radius: 3px;901 border-radius: 3px;902 cursor: pointer; /* to keep IE happy */903 display: -moz-inline-stack; /* to keep FF2 happy */904 display: inline-block;893 background-repeat: repeat-x; 894 background-position: 0 0; 895 -moz-border-radius: 3px; 896 -webkit-border-radius: 3px; 897 -khtml-border-radius: 3px; 898 border-radius: 3px; 899 cursor: pointer; /* to keep IE happy */ 900 display: -moz-inline-stack; /* to keep FF2 happy */ 901 display: inline-block; 905 902 font-size: 50%; 906 font-style: normal;907 line-height: 17px;908 margin-left: 5px;909 padding: 0 6px;910 vertical-align: middle;903 font-style: normal; 904 line-height: 17px; 905 margin-left: 5px; 906 padding: 0 6px; 907 vertical-align: middle; 911 908 } 912 909 913 910 #wphead h1 a:hover { 914 text-decoration: none;911 text-decoration: none; 915 912 } 913 916 914 #wphead h1 a:hover #site-title { 917 text-decoration: underline;915 text-decoration: underline; 918 916 } 919 917 920 918 /* side admin menu */ … … 1032 1030 #adminmenu .wp-submenu .wp-submenu-head { 1033 1031 border-width: 1px 1px 0; 1034 1032 border-style: solid solid none; 1035 -moz-border-radius-topleft :6px; 1036 -moz-border-radius-topright: 6px; 1033 -moz-border-radius: 6px 6px 0 0; 1037 1034 -webkit-border-top-right-radius: 6px; 1038 1035 -webkit-border-top-left-radius: 6px; 1039 1036 -khtml-border-top-right-radius: 6px; … … 1046 1043 .folded #adminmenu li.menu-top-last { 1047 1044 border-width: 1px; 1048 1045 border-style: solid; 1049 -moz-border-radius-bottomleft: 6px; 1050 -moz-border-radius-bottomright: 6px; 1046 -moz-border-radius: 0 0 6px 6px; 1051 1047 -webkit-border-bottom-right-radius: 6px; 1052 1048 -webkit-border-bottom-left-radius: 6px; 1053 1049 -khtml-border-bottom-right-radius: 6px; … … 3072 3068 } 3073 3069 3074 3070 #favorite-inside { 3075 margin: 0 0 0 0px;3071 margin: 0; 3076 3072 padding: 0 1px 6px 1px; 3077 3073 border-width: 1px; 3078 3074 border-style: solid; … … 3322 3318 } 3323 3319 3324 3320 .plugin-update-tr .update-message { 3325 margin: 5px ;3326 padding: 3px 5px;3327 border-width: 1px ;3321 margin: 5px 10px 0; 3322 padding: 4px 8px; 3323 border-width: 1px 1px 0; 3328 3324 border-style: solid; 3329 -moz-border-radius: 5px; 3330 -khtml-border-radius: 5px; 3331 -webkit-border-radius: 5px; 3332 border-radius: 5px; 3325 -moz-border-radius: 5px 5px 0 0; 3326 -webkit-border-top-right-radius: 5px; 3327 -webkit-border-top-left-radius: 5px; 3328 -khtml-border-top-right-radius: 5px; 3329 -khtml-border-top-left-radius: 5px; 3330 border-top-right-radius: 5px; 3331 border-top-left-radius: 5px; 3333 3332 } 3334 3333 3335 3334 .add-new-h2 { … … 3373 3372 .imgedit-wait { 3374 3373 position: absolute; 3375 3374 top: 0; 3376 background: #FFF FFFurl(images/wpspin_light.gif) no-repeat scroll 22px 10px;3375 background: #FFF url(images/wpspin_light.gif) no-repeat scroll 22px 10px; 3377 3376 opacity: 0.7; 3378 3377 filter: alpha(opacity=70); 3379 3378 width: 100%; … … 3448 3447 margin: 0 8px 0 3px; 3449 3448 } 3450 3449 3451 3452 3450 .imgedit-applyto img { 3453 3451 margin: 0 8px 0 0; 3454 3452 }