Changeset 50945 for trunk/src/wp-includes/blocks/query-pagination-next.php
- Timestamp:
- 05/21/2021 10:12:42 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/query-pagination-next.php
r50929 r50945 40 40 remove_filter( 'next_posts_link_attributes', $filter_link_attributes ); 41 41 } elseif ( ! $max_page || $max_page > $page ) { 42 $custom_query = new WP_Query( construct_wp_query_args( $block, $page ) );42 $custom_query = new WP_Query( build_query_vars_from_query_block( $block, $page ) ); 43 43 if ( (int) $custom_query->max_num_pages !== $page ) { 44 44 $content = sprintf(
Note: See TracChangeset
for help on using the changeset viewer.