diff --git a/src/wp-includes/blocks/gallery.php b/src/wp-includes/blocks/gallery.php index 4aed9cfed051b..c31df47a3a01b 100644 --- a/src/wp-includes/blocks/gallery.php +++ b/src/wp-includes/blocks/gallery.php @@ -86,7 +86,8 @@ function block_core_gallery_render( $attributes, $content ) { 'wp_footer', function () use ( $style ) { echo ''; - } + }, + 11 ); return $content; }