Skip to content

Commit

Permalink
Remove default priority argument
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Apr 3, 2024
1 parent b02973b commit 2166745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/tests/rest-api/wpRestTemplatesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public static function wpTearDownAfterClass() {
*/
public function tear_down() {
if ( has_filter( 'rest_pre_insert_wp_template_part', 'inject_ignored_hooked_blocks_metadata_attributes' ) ) {
remove_filter( 'rest_pre_insert_wp_template_part', 'inject_ignored_hooked_blocks_metadata_attributes', 10 );
remove_filter( 'rest_pre_insert_wp_template_part', 'inject_ignored_hooked_blocks_metadata_attributes' );
}
if ( WP_Block_Type_Registry::get_instance()->is_registered( 'tests/block' ) ) {
unregister_block_type( 'tests/hooked-block' );
Expand Down

0 comments on commit 2166745

Please sign in to comment.