Make WordPress Core


Ignore:
Timestamp:
07/22/2021 01:51:58 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add a comment about the $title global usage in various admin files.

This should make it clear that the variable is used as part of the HTML <title> tag on admin screens.

Props ravipatel, hellofromTonya, sabernhardt, audrasjb, SergeyBiryukov.
Fixes #53729.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/user-edit.php

    r51330 r51475  
    3333
    3434if ( IS_PROFILE_PAGE ) {
     35    // Used in the HTML title tag.
    3536    $title = __( 'Profile' );
    3637} else {
     38    // Used in the HTML title tag.
    3739    /* translators: %s: User's display name. */
    3840    $title = __( 'Edit User %s' );
Note: See TracChangeset for help on using the changeset viewer.