mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 06:29:30 +00:00
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-comments' => 'comments',
|
||||
'options-general' => 'settings',
|
||||
'themes' => 'appearance',
|
||||
);
|
||||
|
||||
if ( isset($compat[$hook_name]) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user