Make WordPress Core


Ignore:
Timestamp:
05/23/2024 07:37:08 PM (9 months ago)
Author:
ellatrix
Message:

Editor: Update npm packages.

Updates the editor npm packages to latest versions.

See https://github.com/WordPress/wordpress-develop/pull/6612.

Props ellatrix, mukesh27, youknowriad, mamaduka.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks/query.php

    r57619 r58187  
    5252            $p->set_attribute( 'data-wp-interactive', 'core/query' );
    5353            $p->set_attribute( 'data-wp-router-region', 'query-' . $attributes['queryId'] );
    54             $p->set_attribute( 'data-wp-init', 'callbacks.setQueryRef' );
    5554            $p->set_attribute( 'data-wp-context', '{}' );
     55            $p->set_attribute( 'data-wp-key', $attributes['queryId'] );
    5656            $content = $p->get_updated_html();
    5757        }
     
    7878/**
    7979 * Registers the `core/query` block on the server.
     80 *
     81 * @since 5.8.0
    8082 */
    8183function register_block_core_query() {
Note: See TracChangeset for help on using the changeset viewer.