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:
Sergey Biryukov
2022-04-04 18:24:18 +00:00
parent 74f4d6b441
commit 8277055e37
22 changed files with 42 additions and 37 deletions

View File

@@ -277,16 +277,16 @@ function core_update_footer( $msg = '' ) {
/**
* @since 2.3.0
*
* @global string $pagenow
* @global string $pagenow The filename of the current screen.
* @return void|false
*/
function update_nag() {
global $pagenow;
if ( is_multisite() && ! current_user_can( 'update_core' ) ) {
return false;
}
global $pagenow;
if ( 'update-core.php' === $pagenow ) {
return;
}