Docs: Document the usage of $pagenow global in a few functions.

See #51800.

git-svn-id: https://develop.svn.wordpress.org/trunk@50407 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2021-02-22 19:16:07 +00:00
parent cebbabbe21
commit aaf3fc57fc
5 changed files with 10 additions and 0 deletions

View File

@@ -938,6 +938,8 @@ function wp_is_recovery_mode() {
*
* @since 5.2.0
*
* @global string $pagenow
*
* @return bool True if the current endpoint should be protected.
*/
function is_protected_endpoint() {