Skip to content

Commit

Permalink
WPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Sep 2, 2024
1 parent d9dc1b7 commit 766f888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/categories/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
Expand Down

0 comments on commit 766f888

Please sign in to comment.