Make WordPress Core

Ticket #60677: 60677.patch

File 60677.patch, 1.3 KB (added by wildworks, 3 months ago)
  • src/wp-includes/blocks/post-template.php

    diff --git a/src/wp-includes/blocks/post-template.php b/src/wp-includes/blocks/post-template.php
    index 2c7502ca3b..df287acae7 100644
    a b function block_core_post_template_uses_featured_image( $inner_blocks ) { 
    3636 *
    3737 * @since 6.3.0 Changed render_block_context priority to `1`.
    3838 *
     39 * @global WP_Query $wp_query WordPress Query object.
     40 *
    3941 * @param array    $attributes Block attributes.
    4042 * @param string   $content    Block default content.
    4143 * @param WP_Block $block      Block instance.
  • src/wp-includes/interactivity-api/interactivity-api.php

    diff --git a/src/wp-includes/interactivity-api/interactivity-api.php b/src/wp-includes/interactivity-api/interactivity-api.php
    index 548fcc3638..cd35e00d75 100644
    a b add_filter( 'render_block_data', 'wp_interactivity_process_directives_of_interac 
    7474 * It provides access to the WP_Interactivity_API instance, creating one if it
    7575 * doesn't exist yet.
    7676 *
    77  * @global WP_Interactivity_API $wp_interactivity
    78  *
    7977 * @since 6.5.0
    8078 *
     79 * @global WP_Interactivity_API $wp_interactivity
     80 *
    8181 * @return WP_Interactivity_API The main WP_Interactivity_API instance.
    8282 */
    8383function wp_interactivity(): WP_Interactivity_API {