Skip to content

Commit

Permalink
PHP lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Sep 7, 2023
1 parent f621435 commit 3065028
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/client-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,8 @@ function gutenberg_register_vendor_scripts( $scripts ) {
add_action( 'wp_enqueue_scripts', 'gutenberg_enqueue_stored_styles' );
add_action( 'wp_footer', 'gutenberg_enqueue_stored_styles', 1 );

// This action should be removed in core when backporting.
// https://github.com/WordPress/wordpress-develop/blob/362624176cba41a2dda57c3e89031aa6c3e4decf/src/wp-includes/default-filters.php#L573
/*
* This action should be removed in core when backporting.
* See https://github.com/WordPress/wordpress-develop/blob/362624176cba41a2dda57c3e89031aa6c3e4decf/src/wp-includes/default-filters.php#L573.
*/
remove_action( 'admin_enqueue_scripts', 'wp_common_block_scripts_and_styles' );

0 comments on commit 3065028

Please sign in to comment.