Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#56622 closed defect (bug) (fixed)

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

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

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.


4 years ago
#1

  • Keywords has-patch added; needs-patch removed

#2 @maximemeganck
4 years ago

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

Maxime

#3 @audrasjb
4 years ago

  • Keywords commit added
  • Owner set to audrasjb
  • Status new → reviewing

Hi and welcome to WordPress Core Trac @maximemeganck.

Perfect, thanks.

Self-assigning for commit.

#4 @audrasjb
4 years ago

  • Resolution → fixed
  • Status reviewing → 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.