WordPress.org

Make WordPress Core

Opened 9 months ago

Closed 8 months ago

#37952 closed defect (bug) (fixed)

Wrong context for Previous/Next strings in get_the_posts_pagination

Reported by: FlorianBrinkmann Owned by: SergeyBiryukov
Milestone: 4.7 Priority: normal
Severity: normal Version: 4.7
Component: I18N Keywords: has-patch
Focuses: Cc:

Description

The current contexts for the Previous and Next strings in get_the_posts_pagination() are previous post and next post. But that sounds like it is a link to one post, not to a set of posts. So I would suggest to change the contexts into previous set of posts and next set of posts or something like that.

Attachments (1)

37952.diff (682 bytes) - added by FlorianBrinkmann 9 months ago.
Changes the contexts to "previous set of posts" and "next set of posts"

Download all attachments as: .zip

Change History (4)

@FlorianBrinkmann
9 months ago

Changes the contexts to "previous set of posts" and "next set of posts"

#1 @FlorianBrinkmann
9 months ago

  • Keywords has-patch added

#2 @SergeyBiryukov
9 months ago

  • Component changed from General to I18N
  • Milestone changed from Awaiting Review to 4.7
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#3 @SergeyBiryukov
8 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 38611:

I18N: Correct context for Next/Previous strings in get_the_posts_pagination().

Props FlorianBrinkmann.
Fixes #37952.

Note: See TracTickets for help on using tickets.