Make WordPress Core


Ignore:
Timestamp:
09/23/2024 06:50:27 AM (16 months ago)
Author:
noisysocks
Message:

Editor: Update packages for 6.7 Beta 1.

Syncs @wordpress/* packages to the wp-6.7 npm tag.

See #61906.

File:
1 edited

Legend:

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

    r59072 r59079  
    7171        true === $lightbox_settings['enabled']
    7272    ) {
    73         $suffix = wp_scripts_get_suffix();
    74         if ( defined( 'IS_GUTENBERG_PLUGIN' ) && IS_GUTENBERG_PLUGIN ) {
    75             $module_url = gutenberg_url( '/build-module/block-library/image/view.min.js' );
    76         }
    77 
    78         wp_register_script_module(
    79             '@wordpress/block-library/image',
    80             isset( $module_url ) ? $module_url : includes_url( "blocks/image/view{$suffix}.js" ),
    81             array( '@wordpress/interactivity' ),
    82             defined( 'GUTENBERG_VERSION' ) ? GUTENBERG_VERSION : get_bloginfo( 'version' )
    83         );
    84 
    85         wp_enqueue_script_module( '@wordpress/block-library/image' );
     73        wp_enqueue_script_module( '@wordpress/block-library/image/view' );
    8674
    8775        /*
Note: See TracChangeset for help on using the changeset viewer.