Make WordPress Core


Ignore:
Timestamp:
04/04/2022 06:24:18 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing description for $pagenow global in various functions.

See #54729, #55499.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/load.php

    r52398 r53060  
    887887 * @access private
    888888 *
     889 * @global string $pagenow The filename of the current screen.
     890 *
    889891 * @return string[] Array of absolute paths to theme directories.
    890892 */
     
    967969 * @since 5.2.0
    968970 *
    969  * @global string $pagenow
     971 * @global string $pagenow The filename of the current screen.
    970972 *
    971973 * @return bool True if the current endpoint should be protected.
     
    17471749 * @since 5.6.1
    17481750 *
    1749  * @global string $pagenow The current page.
     1751 * @global string $pagenow The filename of the current screen.
    17501752 *
    17511753 * @param string $context The context to check for protection. Accepts 'login', 'admin', and 'front'.
Note: See TracChangeset for help on using the changeset viewer.