Make WordPress Core


Ignore:
Timestamp:
07/22/2021 01:51:58 PM (23 months 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/ms-delete-site.php

    r49078 r51475  
    3636$user = wp_get_current_user();
    3737
     38// Used in the HTML title tag.
    3839$title       = __( 'Delete Site' );
    3940$parent_file = 'tools.php';
     41
    4042require_once ABSPATH . 'wp-admin/admin-header.php';
    4143
Note: See TracChangeset for help on using the changeset viewer.