WordPress.org

Make WordPress Core

Changeset 21980


Ignore:
Timestamp:
09/24/2012 07:44:42 PM (7 years ago)
Author:
azaozz
Message:

Add menu-vs-2x.png and 2x media-button.png, pngcrush all in wp-admin/images, props empireoflight, see #21019

Location:
trunk/wp-admin
Files:
1 added
38 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/colors-classic.css

    r21944 r21980  
    18601860    .icon16.icon-site,
    18611861    .menu-icon-site div.wp-menu-image {
    1862         background-image: url('../images/menu-2x.png?ver=20120412');
     1862        background-image: url('../images/menu-vs-2x.png?ver=20120412');
    18631863        background-size: 390px 64px;
    18641864    }
  • trunk/wp-admin/includes/media.php

    r21948 r21980  
    380380    $context = apply_filters('media_buttons_context', __('Upload/Insert %s'));
    381381
    382     $img = '<img src="' . esc_url( admin_url( 'images/media-button.png?ver=20111005' ) ) . '" width="15" height="15" />';
     382    $img = '<img src="' . esc_url( admin_url( 'images/media-button.png?ver=20111005' ) ) . '" width="16" height="16" />';
    383383
    384384    echo '<a href="' . esc_url( get_upload_iframe_src() ) . '" class="thickbox add_media" id="' . esc_attr( $editor_id ) . '-add_media" title="' . esc_attr__( 'Add Media' ) . '" onclick="return false;">' . sprintf( $context, $img ) . '</a>';
Note: See TracChangeset for help on using the changeset viewer.