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/plugins.php

    r49683 r51475  
    154154            }
    155155
     156            // Used in the HTML title tag.
    156157            $title       = __( 'Update Plugins' );
    157158            $parent_file = 'plugins.php';
     
    598599);
    599600
     601// Used in the HTML title tag.
    600602$title       = __( 'Plugins' );
    601603$parent_file = 'plugins.php';
Note: See TracChangeset for help on using the changeset viewer.