Add admin_init action. fixes #5924
git-svn-id: https://develop.svn.wordpress.org/trunk@6915 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
02b1e8d39d
commit
761397a148
@ -38,6 +38,8 @@ if (isset($_GET['page'])) {
|
||||
|
||||
require(ABSPATH . 'wp-admin/menu.php');
|
||||
|
||||
do_action('admin_init');
|
||||
|
||||
// Handle plugin admin pages.
|
||||
if (isset($plugin_page)) {
|
||||
$page_hook = get_plugin_page_hook($plugin_page, $pagenow);
|
||||
|
Loading…
Reference in New Issue
Block a user