Commit 47afbcd0a9 for wordpress.org
commit 47afbcd0a9cefdada5330f59130389ced1a5e7b8
Author: Sergey Biryukov <sergeybiryukov.ru@gmail.com>
Date: Wed Jan 28 23:47:42 2026 +0000
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.
Built from https://develop.svn.wordpress.org/trunk@61552
git-svn-id: http://core.svn.wordpress.org/trunk@60863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-content/themes/twentytwentyfour/functions.php b/wp-content/themes/twentytwentyfour/functions.php
index 6d22c85711..06d60695e9 100644
--- a/wp-content/themes/twentytwentyfour/functions.php
+++ b/wp-content/themes/twentytwentyfour/functions.php
@@ -8,10 +8,6 @@
* @since Twenty Twenty-Four 1.0
*/
-/**
- * Register block styles.
- */
-
if ( ! function_exists( 'twentytwentyfour_block_styles' ) ) :
/**
* Registers custom block styles.
@@ -146,10 +142,6 @@ endif;
add_action( 'init', 'twentytwentyfour_block_styles' );
-/**
- * Enqueue block stylesheets.
- */
-
if ( ! function_exists( 'twentytwentyfour_block_stylesheets' ) ) :
/**
* Enqueues custom block stylesheets.
@@ -180,10 +172,6 @@ endif;
add_action( 'init', 'twentytwentyfour_block_stylesheets' );
-/**
- * Register pattern categories.
- */
-
if ( ! function_exists( 'twentytwentyfour_pattern_categories' ) ) :
/**
* Registers pattern categories.
diff --git a/wp-includes/version.php b/wp-includes/version.php
index f40a9eb067..18355a07af 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.0-alpha-61551';
+$wp_version = '7.0-alpha-61552';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.