mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Admin globals:
* Declare `$wp_importers` as a global in `admin.php` * Declare `$post_type`, `$post_type_object`, and `$post` as globals where applicable See #30799. git-svn-id: https://develop.svn.wordpress.org/trunk@31121 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -91,9 +91,11 @@ $time_format = get_option('time_format');
|
||||
wp_enqueue_script( 'common' );
|
||||
|
||||
// $pagenow is set in vars.php
|
||||
// $wp_importers is sometimes set in wp-admin/includes/import.php
|
||||
//
|
||||
// The remaining variables are imported as globals elsewhere,
|
||||
// declared as globals here
|
||||
global $pagenow, $hook_suffix, $plugin_page, $typenow, $taxnow;
|
||||
global $pagenow, $wp_importers, $hook_suffix, $plugin_page, $typenow, $taxnow;
|
||||
|
||||
$page_hook = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user