Skip to content

Commit

Permalink
fix: use default priority/accepted_args
Browse files Browse the repository at this point in the history
  • Loading branch information
justlevine committed Dec 28, 2024
1 parent ee1039a commit 0beec7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/block-supports/block-style-variations.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ function gutenberg_enqueue_block_style_variation_styles() {
}

// Add Gutenberg filters and action.
add_filter( 'render_block_data', 'gutenberg_render_block_style_variation_support_styles', 10, 1 );
add_filter( 'render_block_data', 'gutenberg_render_block_style_variation_support_styles' );
add_filter( 'render_block', 'gutenberg_render_block_style_variation_class_name', 10, 2 );
add_action( 'wp_enqueue_scripts', 'gutenberg_enqueue_block_style_variation_styles', 1 );

Expand Down
2 changes: 1 addition & 1 deletion lib/experimental/kses-allowed-html.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ function gutenberg_kses_allowed_html( $allowedtags ) {
);
return $allowedtags;
}
add_filter( 'wp_kses_allowed_html', 'gutenberg_kses_allowed_html', 10, 1 );
add_filter( 'wp_kses_allowed_html', 'gutenberg_kses_allowed_html' );
2 changes: 1 addition & 1 deletion lib/rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function gutenberg_override_global_styles_endpoint( array $args ): array {

return $args;
}
add_filter( 'register_wp_global_styles_post_type_args', 'gutenberg_override_global_styles_endpoint', 10, 1 );
add_filter( 'register_wp_global_styles_post_type_args', 'gutenberg_override_global_styles_endpoint' );

/**
* Registers the Edit Site Export REST API routes.
Expand Down

0 comments on commit 0beec7c

Please sign in to comment.