Changeset 58187 for trunk/src/wp-includes/blocks/query.php
- Timestamp:
- 05/23/2024 07:37:08 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/query.php
r57619 r58187 52 52 $p->set_attribute( 'data-wp-interactive', 'core/query' ); 53 53 $p->set_attribute( 'data-wp-router-region', 'query-' . $attributes['queryId'] ); 54 $p->set_attribute( 'data-wp-init', 'callbacks.setQueryRef' );55 54 $p->set_attribute( 'data-wp-context', '{}' ); 55 $p->set_attribute( 'data-wp-key', $attributes['queryId'] ); 56 56 $content = $p->get_updated_html(); 57 57 } … … 78 78 /** 79 79 * Registers the `core/query` block on the server. 80 * 81 * @since 5.8.0 80 82 */ 81 83 function register_block_core_query() {
Note: See TracChangeset
for help on using the changeset viewer.