mirror of
git://develop.git.wordpress.org/
synced 2025-02-28 18:43:03 +01:00
Use page icon for page menus. fixes #12583
git-svn-id: https://develop.svn.wordpress.org/trunk@13659 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
90182075c0
commit
e333b6925a
@ -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…
x
Reference in New Issue
Block a user