Make WordPress Core

Changeset 62473


Ignore:
Timestamp:
06/08/2026 09:11:34 PM (5 days ago)
Author:
SergeyBiryukov
Message:

Twenty Nineteen: Add missing documentation for some global variables.

Props sabernhardt, upadalavipul, shailu25, rajinsharwar, audrasjb, viralsampat, noruzzaman, huzaifaalmesbah, SergeyBiryukov.
See #58715.

Location:
trunk/src/wp-content/themes/twentynineteen
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/functions.php

    r61411 r62473  
    1212/**
    1313 * Twenty Nineteen only works in WordPress 4.7 or later.
     14 *
     15 * @global string $wp_version The WordPress version string.
    1416 */
    1517if ( version_compare( $GLOBALS['wp_version'], '4.7', '<' ) ) {
  • trunk/src/wp-content/themes/twentynineteen/inc/back-compat.php

    r60535 r62473  
    3434 * @since Twenty Nineteen 1.0.0
    3535 *
    36  * @global string $wp_version WordPress version.
     36 * @global string $wp_version The WordPress version string.
    3737 */
    3838function twentynineteen_upgrade_notice() {
     
    5252 * @since Twenty Nineteen 1.0.0
    5353 *
    54  * @global string $wp_version WordPress version.
     54 * @global string $wp_version The WordPress version string.
    5555 */
    5656function twentynineteen_customize() {
     
    7474 * @since Twenty Nineteen 1.0.0
    7575 *
    76  * @global string $wp_version WordPress version.
     76 * @global string $wp_version The WordPress version string.
    7777 */
    7878function twentynineteen_preview() {
Note: See TracChangeset for help on using the changeset viewer.