Make WordPress Core

#56622 closed defect (bug) (fixed)

Wrong documentation for `prev_text` and `next_text` params in `paginate_links()`

Reported by: audrasjb's profile audrasjb Owned by: audrasjb's profile audrasjb
Milestone: 6.1 Priority: normal
Severity: normal Version:
Component: General Keywords: good-first-bug has-patch commit
Focuses: docs Cc:

Description

In paginate_links() function description, the arguments next_text and prev_text are described as bool, but they are strings.

Props @gabri3lmarques for pointing this out on Devhub User contributed notes.

Change History (4)

This ticket was mentioned in PR #3310 on WordPress/wordpress-develop by Maxime-Meganck.


22 months ago
#1

  • Keywords has-patch added; needs-patch removed

#2 @maximemeganck
22 months ago

Hello,
This is my first contribution.
Hope that it's ok !

Maxime

#3 @audrasjb
22 months ago

  • Keywords commit added
  • Owner set to audrasjb
  • Status changed from new to reviewing

Hi and welcome to WordPress Core Trac @maximemeganck.

Perfect, thanks.

Self-assigning for commit.

#4 @audrasjb
22 months ago

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

In 54286:

Docs: Fix prev_text and next_text parameters type in paginate_links().

Props gabri3lmarques, maximemeganck.
Fixes #56622.
See #55646.

Note: See TracTickets for help on using tickets.