| @@ -107,10 +107,10 @@ | ||
| 107 | 107 | * rendering when a plugin block has been found inside. It does so |
| 108 | 108 | * by adding an attribute called `data-wp-navigation-disabled` which |
| 109 | 109 | * is later handled by the front-end logic. |
| 110 | 110 | * |
| 111 | - * @param string $content The block content. | |
| 112 | - * @param array $block The full block, including name and attributes. | |
| 111 | + * @param string $content The block content. | |
| 112 | + * @param array $block The full block, including name and attributes. | |
| 113 | 113 | * @return string Returns the modified output of the query block. |
| 114 | 114 | */ |
| 115 | 115 | $render_query_callback = static function ( $content, $block ) use ( &$enhanced_query_stack, &$dirty_enhanced_queries, &$render_query_callback ) { |
| 116 | 116 | $has_enhanced_pagination = isset( $block['attrs']['enhancedPagination'] ) && true === $block['attrs']['enhancedPagination'] && isset( $block['attrs']['queryId'] ) && is_scalar( $block['attrs']['queryId'] ); |