From 766f88815504c383935b3c60abf42010e00f9989 Mon Sep 17 00:00:00 2001 From: Bernie Reiter Date: Mon, 2 Sep 2024 12:01:42 +0200 Subject: [PATCH] WPCS --- packages/block-library/src/categories/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/categories/index.php b/packages/block-library/src/categories/index.php index 5ec43a4940d0ca..5c0cc63415cb78 100644 --- a/packages/block-library/src/categories/index.php +++ b/packages/block-library/src/categories/index.php @@ -58,7 +58,7 @@ function render_block_core_categories( $attributes, $content, $block ) { $items_markup = wp_list_categories( $args ); $type = 'list'; - if ( ! empty ( $block->context['enhancedPagination'] ) ) { + if ( ! empty( $block->context['enhancedPagination'] ) ) { $p = new WP_HTML_Tag_Processor( $items_markup ); while ( $p->next_tag( 'a' ) ) { $p->set_attribute( 'data-wp-on--click', 'core/query::actions.navigate' );