Changeset 59079 for trunk/src/wp-includes/blocks/query.php
- Timestamp:
- 09/23/2024 06:50:27 AM (22 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/blocks/query.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/query.php
r59072 r59079 25 25 // interactive. 26 26 if ( $is_interactive ) { 27 $suffix = wp_scripts_get_suffix(); 28 if ( defined( 'IS_GUTENBERG_PLUGIN' ) && IS_GUTENBERG_PLUGIN ) { 29 $module_url = gutenberg_url( '/build-module/block-library/query/view.min.js' ); 30 } 31 32 wp_register_script_module( 33 '@wordpress/block-library/query', 34 isset( $module_url ) ? $module_url : includes_url( "blocks/query/view{$suffix}.js" ), 35 array( 36 array( 37 'id' => '@wordpress/interactivity', 38 'import' => 'static', 39 ), 40 array( 41 'id' => '@wordpress/interactivity-router', 42 'import' => 'dynamic', 43 ), 44 ), 45 defined( 'GUTENBERG_VERSION' ) ? GUTENBERG_VERSION : get_bloginfo( 'version' ) 46 ); 47 wp_enqueue_script_module( '@wordpress/block-library/query' ); 27 wp_enqueue_script_module( '@wordpress/block-library/query/view' ); 48 28 49 29 $p = new WP_HTML_Tag_Processor( $content );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)