Make WordPress Core


Ignore:
Timestamp:
09/20/2024 01:53:52 AM (6 months ago)
Author:
noisysocks
Message:

Editor: Update packages for 6.7 Beta 1.

Syncs @wordpress/* packages to the wp-6.7 npm tag.

Fixes #61906.
Props peterwilsoncc, gziolo, kevin940726.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks/comments-pagination-previous.php

    r58187 r59072  
    3030    add_filter( 'previous_comments_link_attributes', $filter_link_attributes );
    3131
    32     $previous_comments_link = get_previous_comments_link( $label );
     32    $comment_vars           = build_comment_query_vars_from_block( $block );
     33    $previous_comments_link = get_previous_comments_link( $label, $comment_vars['paged'] ?? null );
    3334
    3435    remove_filter( 'previous_comments_link_attributes', $filter_link_attributes );
Note: See TracChangeset for help on using the changeset viewer.