mirror of
https://github.com/WordPress/WordPress.git
synced 2026-06-19 07:37:07 +00:00
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
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user