WordPress.org

Make WordPress Core

Ticket #13486: 13486.8.diff

File 13486.8.diff, 5.2 KB (added by duck_, 8 years ago)
  • wp-admin/css/colors-fresh.dev.css

     
    10811081        border-top: none !important;
    10821082}
    10831083
    1084 #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu {
    1085         border-bottom: #aaa 1px solid;
    1086 }
    1087 
    10881084#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
    1089 #adminmenu .menu-top .current {
     1085#adminmenu a.menu-top.current {
    10901086        background: #aaa url(../images/menu-bits.gif) top left repeat-x;
    1091         border-color: #aaa;
     1087        border: #aaa 1px solid;
    10921088        color: #000;
    10931089        text-shadow: #fff 0px 1px 0px;
    10941090}
  • wp-admin/css/wp-admin.dev.css

     
    11921192        float: left;
    11931193        display: block;
    11941194        padding: 0 6px;
     1195        text-shadow: none;
    11951196}
    11961197
    11971198#adminmenu li span.count-0,
  • wp-admin/includes/theme.php

     
    242242                $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;"';
    243243
    244244                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']);
    246246                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']);
    248248                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 );
    250250        }
    251251}
    252252
  • wp-admin/includes/update.php

     
    194194
    195195        echo '<tr class="plugin-update-tr"><td colspan="3" class="plugin-update"><div class="update-message">';
    196196        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 );
    198198        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 );
    200200        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) );
    202202
    203203        do_action( "in_plugin_update_message-$file", $plugin_data, $r );
    204204