PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/scripts/block-library/query.php +2 -2 23.8.0 → 24.1.0 View file →
@@ -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'] );