diff --git a/packages/block-library/src/gallery/index.php b/packages/block-library/src/gallery/index.php index 4aed9cfed051b5..c31df47a3a01b3 100644 --- a/packages/block-library/src/gallery/index.php +++ b/packages/block-library/src/gallery/index.php @@ -86,7 +86,8 @@ function block_core_gallery_render( $attributes, $content ) { 'wp_footer', function () use ( $style ) { echo ''; - } + }, + 11 ); return $content; }