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
|
// @todo Remove this once we have a site admin icon
|
||||||
if ( 'ms-admin' == $screen->parent_base )
|
if ( 'ms-admin' == $screen->parent_base )
|
||||||
$name = 'tools';
|
$name = 'tools';
|
||||||
|
|
||||||
|
if ( 'edit' == $name && isset($screen->post_type) && 'page' == $screen->post_type )
|
||||||
|
$name = 'edit-pages';
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue