More hook back-compat. Props coffee2code. fixes #9438
git-svn-id: https://develop.svn.wordpress.org/trunk@11113 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
41f75a2604
commit
b292e35bfe
@ -138,6 +138,7 @@ foreach ($menu as $menu_page) {
|
||||
'edit-pages' => 'pages',
|
||||
'edit-comments' => 'comments',
|
||||
'options-general' => 'settings',
|
||||
'themes' => 'appearance',
|
||||
);
|
||||
|
||||
if ( isset($compat[$hook_name]) )
|
||||
|
Loading…
Reference in New Issue
Block a user