wp core update 6.6
This commit is contained in:
@@ -92,6 +92,8 @@ function block_core_comment_template_render_comments( $comments, $block ) {
|
||||
/**
|
||||
* Renders the `core/comment-template` block on the server.
|
||||
*
|
||||
* @since 6.0.0
|
||||
*
|
||||
* @param array $attributes Block attributes.
|
||||
* @param string $content Block default content.
|
||||
* @param WP_Block $block Block instance.
|
||||
@@ -136,6 +138,8 @@ function render_block_core_comment_template( $attributes, $content, $block ) {
|
||||
|
||||
/**
|
||||
* Registers the `core/comment-template` block on the server.
|
||||
*
|
||||
* @since 6.0.0
|
||||
*/
|
||||
function register_block_core_comment_template() {
|
||||
register_block_type_from_metadata(
|
||||
|
||||
Reference in New Issue
Block a user