mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 21:24:35 +00:00
Add @global annotations for wp-admin/*.
See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32642 602fd350-edb4-49c9-b593-d223f7449a82
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