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:
ryan 2010-03-11 16:54:47 +00:00
parent 1f422200ee
commit 5d6cd5deb5

View File

@ -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';
}
?>