Make WordPress Core


Ignore:
Timestamp:
04/04/2022 06:24:18 PM (2 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-admin/includes/user.php

    r52978 r53060  
    511511 * @since 2.8.0
    512512 *
    513  * @global string $pagenow
     513 * @global string $pagenow The filename of the current screen.
    514514 */
    515515function default_password_nag() {
    516516    global $pagenow;
     517
    517518    // Short-circuit it.
    518519    if ( 'profile.php' === $pagenow || ! get_user_option( 'default_password_nag' ) ) {
Note: See TracChangeset for help on using the changeset viewer.