Thanks to visit codestin.com
Credit goes to core.trac.wordpress.org

Make WordPress Core

Changeset 62479


Ignore:
Timestamp:
06/09/2026 06:10:02 PM (3 weeks ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty: Add missing documentation for some global variables.

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

File:
1 edited

Legend:

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

    r61319 r62479  
    3333 *
    3434 * @since Twenty Twenty 1.0
     35 *
     36 * @global int    $content_width Content width.
     37 * @global string $wp_version    The WordPress version string.
    3538 */
    3639function twentytwenty_theme_support() {
     
    462465}
    463466
     467/**
     468 * @global string $wp_version The WordPress version string.
     469 */
    464470if ( is_admin() && version_compare( $GLOBALS['wp_version'], '6.3', '>=' ) ) {
    465471    add_action( 'enqueue_block_assets', 'twentytwenty_block_editor_styles', 1, 1 );
Note: See TracChangeset for help on using the changeset viewer.