[wp-trac] [WordPress Trac] #65004: Prev/Next for posts needs context in block library
WordPress Trac
noreply at wordpress.org
Tue Apr 14 06:28:45 UTC 2026
#65004: Prev/Next for posts needs context in block library
--------------------------+-----------------------
Reporter: timse201 | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------
Comment (by poena):
Are you able to provide more information?
And it still needs to be reported in the Gutenberg GitHub repository, not
via Trac.
Here is where I am seeing the translators context for the next and
previous post:
https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-
includes/blocks/post-navigation-link.php#L40
And it comes from the block here:
https://github.com/WordPress/gutenberg/blob/trunk/packages/block-
library/src/post-navigation-link/index.php#L40
---
The comment pagination does not use the ambiguous next/previous texts,
they use:
{{{
$default_label = __( 'Newer Comments' );
}}}
https://github.com/WordPress/gutenberg/blob/trunk/packages/block-
library/src/comments-pagination-next/index.php#L27
and
{{{
$default_label = __( 'Older Comments' );
}}}
https://github.com/WordPress/gutenberg/blob/trunk/packages/block-
library/src/comments-pagination-previous/index.php#L20
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65004#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list