Make WordPress Core

Changeset 61552


Ignore:
Timestamp:
01/28/2026 11:46:47 PM (5 weeks ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty-Four: Remove redundant comments for conditionally-defined functions.

This also improves consistency with other themes.

Follow-up to [56716], [61272].

Props huzaifaalmesbah, mukesh27, sabernhardt.
See #64226.

File:
1 edited

Legend:

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

    r60610 r61552  
    77 * @package Twenty Twenty-Four
    88 * @since Twenty Twenty-Four 1.0
    9  */
    10 
    11 /**
    12  * Register block styles.
    139 */
    1410
     
    147143add_action( 'init', 'twentytwentyfour_block_styles' );
    148144
    149 /**
    150  * Enqueue block stylesheets.
    151  */
    152 
    153145if ( ! function_exists( 'twentytwentyfour_block_stylesheets' ) ) :
    154146    /**
     
    181173add_action( 'init', 'twentytwentyfour_block_stylesheets' );
    182174
    183 /**
    184  * Register pattern categories.
    185  */
    186 
    187175if ( ! function_exists( 'twentytwentyfour_pattern_categories' ) ) :
    188176    /**
Note: See TracChangeset for help on using the changeset viewer.