Make WordPress Core


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

    r51189 r51475  
    7777    );
    7878
     79    // Used in the HTML title tag.
    7980    $title       = __( 'Media Library' );
    8081    $parent_file = 'upload.php';
     
    216217$wp_list_table->prepare_items();
    217218
     219// Used in the HTML title tag.
    218220$title       = __( 'Media Library' );
    219221$parent_file = 'upload.php';
Note: See TracChangeset for help on using the changeset viewer.