mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Add admin_init action. fixes #5924
git-svn-id: http://svn.automattic.com/wordpress/trunk@6915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b04d17f011
commit
3992509821
@ -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