wp core update 6.6
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
/**
|
||||
* Performs wpautop() on the shortcode block content.
|
||||
*
|
||||
* @since 5.0.0
|
||||
*
|
||||
* @param array $attributes The block attributes.
|
||||
* @param string $content The block content.
|
||||
*
|
||||
@@ -19,6 +21,8 @@ function render_block_core_shortcode( $attributes, $content ) {
|
||||
|
||||
/**
|
||||
* Registers the `core/shortcode` block on server.
|
||||
*
|
||||
* @since 5.0.0
|
||||
*/
|
||||
function register_block_core_shortcode() {
|
||||
register_block_type_from_metadata(
|
||||
|
||||
Reference in New Issue
Block a user