mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Use page icon for page menus. fixes #12583
git-svn-id: http://svn.automattic.com/wordpress/trunk@13659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1f422200ee
commit
5d6cd5deb5
@ -3791,6 +3791,9 @@ function screen_icon($screen = '') {
|
||||
// @todo Remove this once we have a site admin icon
|
||||
if ( 'ms-admin' == $screen->parent_base )
|
||||
$name = 'tools';
|
||||
|
||||
if ( 'edit' == $name && isset($screen->post_type) && 'page' == $screen->post_type )
|
||||
$name = 'edit-pages';
|
||||
}
|
||||
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user