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/update-core.php

    r51185 r51475  
    11371137    $url = wp_nonce_url( $url, 'bulk-update-plugins' );
    11381138
     1139    // Used in the HTML title tag.
    11391140    $title = __( 'Update Plugins' );
    11401141
     
    11771178    $url = wp_nonce_url( $url, 'bulk-update-themes' );
    11781179
     1180    // Used in the HTML title tag.
    11791181    $title = __( 'Update Themes' );
    11801182
Note: See TracChangeset for help on using the changeset viewer.