wp core update 6.6
This commit is contained in:
@@ -36,6 +36,8 @@ function wp_latest_comments_draft_or_post_title( $post = 0 ) {
|
||||
/**
|
||||
* Renders the `core/latest-comments` block on server.
|
||||
*
|
||||
* @since 5.1.0
|
||||
*
|
||||
* @param array $attributes The block attributes.
|
||||
*
|
||||
* @return string Returns the post content with latest comments added.
|
||||
@@ -145,6 +147,8 @@ function render_block_core_latest_comments( $attributes = array() ) {
|
||||
|
||||
/**
|
||||
* Registers the `core/latest-comments` block.
|
||||
*
|
||||
* @since 5.3.0
|
||||
*/
|
||||
function register_block_core_latest_comments() {
|
||||
register_block_type_from_metadata(
|
||||
|
||||
Reference in New Issue
Block a user