More hook back-compat. Props coffee2code. fixes #9438
git-svn-id: http://svn.automattic.com/wordpress/trunk@11113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f7c30e87eb
commit
cc15ecfbff
|
@ -138,6 +138,7 @@ foreach ($menu as $menu_page) {
|
||||||
'edit-pages' => 'pages',
|
'edit-pages' => 'pages',
|
||||||
'edit-comments' => 'comments',
|
'edit-comments' => 'comments',
|
||||||
'options-general' => 'settings',
|
'options-general' => 'settings',
|
||||||
|
'themes' => 'appearance',
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( isset($compat[$hook_name]) )
|
if ( isset($compat[$hook_name]) )
|
||||||
|
|
Loading…
Reference in New Issue