mirror of
https://github.com/WordPress/WordPress.git
synced 2025-12-05 11:24:25 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@61272 git-svn-id: http://core.svn.wordpress.org/trunk@60584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7413166cfe
commit
349fda670c
@ -9,7 +9,6 @@
|
||||
* @since Twenty Twenty-Five 1.0
|
||||
*/
|
||||
|
||||
// Adds theme support for post formats.
|
||||
if ( ! function_exists( 'twentytwentyfive_post_format_setup' ) ) :
|
||||
/**
|
||||
* Adds theme support for post formats.
|
||||
@ -24,7 +23,6 @@ if ( ! function_exists( 'twentytwentyfive_post_format_setup' ) ) :
|
||||
endif;
|
||||
add_action( 'after_setup_theme', 'twentytwentyfive_post_format_setup' );
|
||||
|
||||
// Enqueues editor-style.css in the editors.
|
||||
if ( ! function_exists( 'twentytwentyfive_editor_style' ) ) :
|
||||
/**
|
||||
* Enqueues editor-style.css in the editors.
|
||||
@ -39,7 +37,6 @@ if ( ! function_exists( 'twentytwentyfive_editor_style' ) ) :
|
||||
endif;
|
||||
add_action( 'after_setup_theme', 'twentytwentyfive_editor_style' );
|
||||
|
||||
// Enqueues the theme stylesheet on the front.
|
||||
if ( ! function_exists( 'twentytwentyfive_enqueue_styles' ) ) :
|
||||
/**
|
||||
* Enqueues the theme stylesheet on the front.
|
||||
@ -67,7 +64,6 @@ if ( ! function_exists( 'twentytwentyfive_enqueue_styles' ) ) :
|
||||
endif;
|
||||
add_action( 'wp_enqueue_scripts', 'twentytwentyfive_enqueue_styles' );
|
||||
|
||||
// Registers custom block styles.
|
||||
if ( ! function_exists( 'twentytwentyfive_block_styles' ) ) :
|
||||
/**
|
||||
* Registers custom block styles.
|
||||
@ -96,7 +92,6 @@ if ( ! function_exists( 'twentytwentyfive_block_styles' ) ) :
|
||||
endif;
|
||||
add_action( 'init', 'twentytwentyfive_block_styles' );
|
||||
|
||||
// Registers pattern categories.
|
||||
if ( ! function_exists( 'twentytwentyfive_pattern_categories' ) ) :
|
||||
/**
|
||||
* Registers pattern categories.
|
||||
@ -126,7 +121,6 @@ if ( ! function_exists( 'twentytwentyfive_pattern_categories' ) ) :
|
||||
endif;
|
||||
add_action( 'init', 'twentytwentyfive_pattern_categories' );
|
||||
|
||||
// Registers block binding sources.
|
||||
if ( ! function_exists( 'twentytwentyfive_register_block_bindings' ) ) :
|
||||
/**
|
||||
* Registers the post format block binding source.
|
||||
@ -147,7 +141,6 @@ if ( ! function_exists( 'twentytwentyfive_register_block_bindings' ) ) :
|
||||
endif;
|
||||
add_action( 'init', 'twentytwentyfive_register_block_bindings' );
|
||||
|
||||
// Registers block binding callback function for the post format name.
|
||||
if ( ! function_exists( 'twentytwentyfive_format_binding' ) ) :
|
||||
/**
|
||||
* Callback function for the post format name block binding source.
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '7.0-alpha-61271';
|
||||
$wp_version = '7.0-alpha-61272';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user