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

    r51178 r51475  
    5454
    5555    case 'editcomment':
     56        // Used in the HTML title tag.
    5657        $title = __( 'Edit Comment' );
    5758
     
    9798    case 'trash':
    9899    case 'spam':
     100        // Used in the HTML title tag.
    99101        $title = __( 'Moderate Comment' );
    100102
Note: See TracChangeset for help on using the changeset viewer.