WordPress.org

Make WordPress Core

Changeset 37365


Ignore:
Timestamp:
05/05/16 17:12:12 (12 months ago)
Author:
jeremyfelt
Message:

Multisite: Use the admin-multisite Dashicon for sites

This icon was added to Dashicons in 4.3, but not applied to anything in our CSS.

Uses the more appropriate dashicons-admin-multisite when displaying the sites menu item.

Props Ipstenu, ocean90.
Fixes #36754.

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/admin-menu.css

    r37364 r37365  
    9898 
    9999.icon16.icon-site:before { 
    100     content: "\f112"; 
     100    content: "\f541"; 
    101101} 
    102102 
  • trunk/src/wp-admin/network/menu.php

    r32514 r37365  
    2525 
    2626/* translators: Sites menu item */ 
    27 $menu[5] = array(__('Sites'), 'manage_sites', 'sites.php', '', 'menu-top menu-icon-site', 'menu-site', 'dashicons-admin-network'); 
     27$menu[5] = array(__('Sites'), 'manage_sites', 'sites.php', '', 'menu-top menu-icon-site', 'menu-site', 'dashicons-admin-multisite'); 
    2828$submenu['sites.php'][5]  = array( __('All Sites'), 'manage_sites', 'sites.php' ); 
    2929$submenu['sites.php'][10]  = array( _x('Add New', 'site'), 'create_sites', 'site-new.php' ); 
  • trunk/src/wp-includes/css/admin-bar.css

    r37364 r37365  
    528528#wpadminbar #wp-admin-bar-my-sites > .ab-item:before, 
    529529#wpadminbar #wp-admin-bar-site-name > .ab-item:before { 
    530     content: "\f112"; 
     530    content: "\f541"; 
    531531    top: 2px; 
    532532} 
Note: See TracChangeset for help on using the changeset viewer.