Make WordPress Core

Changeset 61272


Ignore:
Timestamp:
11/19/2025 10:22:05 PM (2 months ago)
Author:
westonruter
Message:

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

This also improves consistency with other themes.

Follow-up to [59146].

Fixes #64265.
See #64226.
Props hbhalodia, huzaifaalmesbah.

File:
1 edited

Legend:

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

    r60935 r61272  
    1010 */
    1111
    12 // Adds theme support for post formats.
    1312if ( ! function_exists( 'twentytwentyfive_post_format_setup' ) ) :
    1413    /**
     
    2524add_action( 'after_setup_theme', 'twentytwentyfive_post_format_setup' );
    2625
    27 // Enqueues editor-style.css in the editors.
    2826if ( ! function_exists( 'twentytwentyfive_editor_style' ) ) :
    2927    /**
     
    4038add_action( 'after_setup_theme', 'twentytwentyfive_editor_style' );
    4139
    42 // Enqueues the theme stylesheet on the front.
    4340if ( ! function_exists( 'twentytwentyfive_enqueue_styles' ) ) :
    4441    /**
     
    6865add_action( 'wp_enqueue_scripts', 'twentytwentyfive_enqueue_styles' );
    6966
    70 // Registers custom block styles.
    7167if ( ! function_exists( 'twentytwentyfive_block_styles' ) ) :
    7268    /**
     
    9793add_action( 'init', 'twentytwentyfive_block_styles' );
    9894
    99 // Registers pattern categories.
    10095if ( ! function_exists( 'twentytwentyfive_pattern_categories' ) ) :
    10196    /**
     
    127122add_action( 'init', 'twentytwentyfive_pattern_categories' );
    128123
    129 // Registers block binding sources.
    130124if ( ! function_exists( 'twentytwentyfive_register_block_bindings' ) ) :
    131125    /**
     
    148142add_action( 'init', 'twentytwentyfive_register_block_bindings' );
    149143
    150 // Registers block binding callback function for the post format name.
    151144if ( ! function_exists( 'twentytwentyfive_format_binding' ) ) :
    152145    /**
Note: See TracChangeset for help on using the changeset viewer.