mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user