WordPress.org

Make WordPress Core

Ticket #12374: newicon.patch

File newicon.patch, 1.5 KB (added by ocean90, 8 years ago)

remove the @todo, added CSS for the new icon

  • wp-admin/css/ms.dev.css

     
    11/* Site Admin Menu */
    22#adminmenu .menu-icon-site div.wp-menu-image {
    3         background: transparent url('../images/site-admin.png') no-repeat scroll 0px -33px;
     3        background: transparent url('../images/menu.png') no-repeat scroll -361px -33px;
    44}
    55
    6 #adminmenu .menu-icon-site:hover div.wp-menu-image {
    7         background: transparent url('../images/site-admin.png') no-repeat scroll 0px -1px;
     6#adminmenu .menu-icon-site:hover div.wp-menu-image,
     7#adminmenu .menu-icon-site.wp-has-current-submenu div.wp-menu-image {
     8        background: transparent url('../images/menu.png') no-repeat scroll -361px -1px;
    89}
    910
     11/* Screen icon */
     12#icon-ms-admin {
     13        background: transparent url(../images/icons32.png) no-repeat -659px -5px;
     14}
     15
    1016/* Dashboard: MS Specific Data */
    1117#dashboard_right_now p.musub {
    1218        margin-top: 12px;
  • wp-admin/includes/template.php

     
    38023802                else
    38033803                        $name = $screen->base;
    38043804
    3805                 // @todo Remove this once we have a site admin icon
    3806                 if ( 'ms-admin' == $screen->parent_base )
    3807                         $name = 'tools';
    3808 
    38093805                if ( 'edit' == $name && isset($screen->post_type) && 'page' == $screen->post_type )
    38103806                        $name = 'edit-pages';
    38113807        }