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:
Ryan Boren 2008-02-19 20:24:50 +00:00
parent 02b1e8d39d
commit 761397a148

View File

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