Skip to content

Commit

Permalink
Merge pull request ampproject#7682 from ampproject/dependabot/compose…
Browse files Browse the repository at this point in the history
…r/php-stubs/wordpress-stubs-6.4.1

Bump php-stubs/wordpress-stubs from 6.3.2 to 6.4.1
  • Loading branch information
westonruter authored Jan 9, 2024
2 parents 0a547f3 + 5c5798c commit 23487e2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
16 changes: 9 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions includes/class-amp-theme-support.php
Original file line number Diff line number Diff line change
Expand Up @@ -912,8 +912,11 @@ static function() {

if ( class_exists( 'Gutenberg_Modules' ) ) {
remove_action( 'wp_head', [ 'Gutenberg_Modules', 'print_import_map' ] );
remove_action( 'wp_footer', [ 'Gutenberg_Modules', 'print_import_map' ] );
remove_action( 'wp_head', [ 'Gutenberg_Modules', 'print_enqueued_modules' ] );
remove_action( 'wp_footer', [ 'Gutenberg_Modules', 'print_enqueued_modules' ] );
remove_action( 'wp_head', [ 'Gutenberg_Modules', 'print_module_preloads' ] );
remove_action( 'wp_footer', [ 'Gutenberg_Modules', 'print_module_preloads' ] );
remove_action( 'wp_footer', [ 'Gutenberg_Modules', 'print_import_map_polyfill' ], 11 );
}
}
Expand Down

0 comments on commit 23487e2

Please sign in to comment.