require_once to avoid error from admin bar snack menu include
git-svn-id: https://develop.svn.wordpress.org/trunk@15716 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a811171a0c
commit
0afda4b179
@ -18,6 +18,6 @@ $menu[99] = array( '', 'read', 'separator-last', '', 'wp-menu-separator-last' );
|
||||
$compat = array();
|
||||
$submenu = array();
|
||||
|
||||
require(ABSPATH . 'wp-admin/includes/menu.php');
|
||||
require_once(ABSPATH . 'wp-admin/includes/menu.php');
|
||||
|
||||
?>
|
Loading…
Reference in New Issue
Block a user