Make WordPress Core


Ignore:
Timestamp:
03/26/2026 01:24:51 PM (4 months ago)
Author:
dmsnell
Message:

Restore: Sync Gutenberg @ 022d8dd3d461f91b15c1f0410649d3ebb027207f
See changelog in f328908c4e6a97dc74437504f8d6dfbfd4fe2415

Gutenberg ref update.
CI run: https://github.com/WordPress/wordpress-develop/pull/11059.

See #64595.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/fixes-64393-restore-version-history/src/wp-includes/blocks/image.php

    r62123 r62127  
    311311        $body_content = preg_replace( '/<img[^>]+>/', $button, $body_content );
    312312
    313         $overlay_callback = function () {
    314                 block_core_image_print_lightbox_overlay();
    315         };
    316         add_action( 'wp_footer', $overlay_callback );
     313        add_action( 'wp_footer', 'block_core_image_print_lightbox_overlay' );
    317314
    318315        return $body_content;
Note: See TracChangeset for help on using the changeset viewer.