Skip to content

Commit 3530774

Browse files
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. git-svn-id: https://develop.svn.wordpress.org/trunk@61552 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 779509f commit 3530774

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/wp-content/themes/twentytwentyfour/functions.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
* @since Twenty Twenty-Four 1.0
99
*/
1010

11-
/**
12-
* Register block styles.
13-
*/
14-
1511
if ( ! function_exists( 'twentytwentyfour_block_styles' ) ) :
1612
/**
1713
* Registers custom block styles.
@@ -146,10 +142,6 @@ function twentytwentyfour_block_styles() {
146142

147143
add_action( 'init', 'twentytwentyfour_block_styles' );
148144

149-
/**
150-
* Enqueue block stylesheets.
151-
*/
152-
153145
if ( ! function_exists( 'twentytwentyfour_block_stylesheets' ) ) :
154146
/**
155147
* Enqueues custom block stylesheets.
@@ -180,10 +172,6 @@ function twentytwentyfour_block_stylesheets() {
180172

181173
add_action( 'init', 'twentytwentyfour_block_stylesheets' );
182174

183-
/**
184-
* Register pattern categories.
185-
*/
186-
187175
if ( ! function_exists( 'twentytwentyfour_pattern_categories' ) ) :
188176
/**
189177
* Registers pattern categories.

0 commit comments

Comments
 (0)