wp core update 6.6

This commit is contained in:
Tony Volpe
2024-07-17 03:05:30 +00:00
parent 8f93917880
commit 4950d23a30
912 changed files with 103325 additions and 124480 deletions

View File

@@ -8,6 +8,10 @@
/**
* Renders the `core/template-part` block on the server.
*
* @since 5.9.0
*
* @global WP_Embed $wp_embed WordPress Embed object.
*
* @param array $attributes The block attributes.
*
* @return string The render.
@@ -174,6 +178,8 @@ function render_block_core_template_part( $attributes ) {
/**
* Returns an array of area variation objects for the template part block.
*
* @since 6.1.0
*
* @param array $instance_variations The variations for instances.
*
* @return array Array containing the block variation objects.
@@ -212,6 +218,8 @@ function build_template_part_block_area_variations( $instance_variations ) {
/**
* Returns an array of instance variation objects for the template part block
*
* @since 6.1.0
*
* @return array Array containing the block variation objects.
*/
function build_template_part_block_instance_variations() {
@@ -266,6 +274,8 @@ function build_template_part_block_instance_variations() {
/**
* Returns an array of all template part block variations.
*
* @since 5.9.0
*
* @return array Array containing the block variation objects.
*/
function build_template_part_block_variations() {
@@ -276,6 +286,8 @@ function build_template_part_block_variations() {
/**
* Registers the `core/template-part` block on the server.
*
* @since 5.9.0
*/
function register_block_core_template_part() {
register_block_type_from_metadata(