Ticket #63067: blocks-diff.patch
| File blocks-diff.patch, 529 bytes (added by , 9 months ago) |
|---|
-
wp-includes/
old new 2642 2642 if ( ! empty( $block->context['query']['taxQuery'] ) ) { 2643 2643 $tax_query = array(); 2644 2644 foreach ( $block->context['query']['taxQuery'] as $taxonomy => $terms ) { 2645 if ( is_taxonomy_viewable( $taxonomy ) &&! empty( $terms ) ) {2645 if ( ! empty( $terms ) ) { 2646 2646 $tax_query[] = array( 2647 2647 'taxonomy' => $taxonomy, 2648 2648 'terms' => array_filter( array_map( 'intval', $terms ) ),