summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/query-pagination-next.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/query-pagination-next.php')
-rw-r--r--wp-includes/blocks/query-pagination-next.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/wp-includes/blocks/query-pagination-next.php b/wp-includes/blocks/query-pagination-next.php
index 768fde5..ca134f6 100644
--- a/wp-includes/blocks/query-pagination-next.php
+++ b/wp-includes/blocks/query-pagination-next.php
@@ -72,9 +72,9 @@ function render_block_core_query_pagination_next( $attributes, $content, $block
)
) ) {
$p->set_attribute( 'data-wp-key', 'query-pagination-next' );
- $p->set_attribute( 'data-wp-on--click', 'actions.core.query.navigate' );
- $p->set_attribute( 'data-wp-on--mouseenter', 'actions.core.query.prefetch' );
- $p->set_attribute( 'data-wp-effect', 'effects.core.query.prefetch' );
+ $p->set_attribute( 'data-wp-on--click', 'core/query::actions.navigate' );
+ $p->set_attribute( 'data-wp-on--mouseenter', 'core/query::actions.prefetch' );
+ $p->set_attribute( 'data-wp-watch', 'core/query::callbacks.prefetch' );
$content = $p->get_updated_html();
}
}