Make WordPress Core


Ignore:
Timestamp:
07/22/2021 01:51:58 PM (2 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/network.php

    r47848 r51475  
    5050
    5151if ( is_network_admin() ) {
     52    // Used in the HTML title tag.
    5253    $title       = __( 'Network Setup' );
    5354    $parent_file = 'settings.php';
    5455} else {
     56    // Used in the HTML title tag.
    5557    $title       = __( 'Create a Network of WordPress Sites' );
    5658    $parent_file = 'tools.php';
Note: See TracChangeset for help on using the changeset viewer.