Add @global annotations for wp-admin/*.
See #32444. Built from https://develop.svn.wordpress.org/trunk@32642 git-svn-id: http://core.svn.wordpress.org/trunk@32612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -94,11 +94,21 @@ $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
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* $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 string $pagenow
|
||||
* @global array $wp_importers
|
||||
* @global string $hook_suffix
|
||||
* @global string $plugin_page
|
||||
* @global string $typenow
|
||||
* @global string $taxnow
|
||||
*/
|
||||
global $pagenow, $wp_importers, $hook_suffix, $plugin_page, $typenow, $taxnow;
|
||||
|
||||
$page_hook = null;
|
||||
|
||||
Reference in New Issue
Block a user