mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-07 14:14:36 +00:00
Docs: Add missing description for $pagenow global in various functions.
See #54729, #55499. git-svn-id: https://develop.svn.wordpress.org/trunk@53060 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -116,11 +116,11 @@ $time_format = __( 'g:i a' );
|
||||
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 string $pagenow The filename of the current screen.
|
||||
* @global array $wp_importers
|
||||
* @global string $hook_suffix
|
||||
* @global string $plugin_page
|
||||
@@ -376,7 +376,7 @@ if ( isset( $plugin_page ) ) {
|
||||
* The load-* hook fires in a number of contexts. This hook is for core screens.
|
||||
*
|
||||
* The dynamic portion of the hook name, `$pagenow`, is a global variable
|
||||
* referring to the filename of the current page, such as 'admin.php',
|
||||
* referring to the filename of the current screen, such as 'admin.php',
|
||||
* 'post-new.php' etc. A complete hook for the latter would be
|
||||
* 'load-post-new.php'.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user