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:
ryan 2009-04-28 19:40:34 +00:00
parent f7c30e87eb
commit cc15ecfbff
1 changed files with 1 additions and 0 deletions

View File

@ -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]) )