Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#31433 closed defect (bug) (fixed)

Add docs for paginate_links $args argument

Reported by: atimmer's profile atimmer Owned by: drewapicture's profile DrewAPicture
Milestone: 4.2 Priority: normal
Severity: normal Version: 4.2
Component: Posts, Post Types Keywords: has-patch dev-feedback
Focuses: docs Cc:

Description

paginate_links has a lot of documentation in words as to what values are possible to send in the $args array but it's all natural text, there is no overview of arguments for a quick reference.

Compare https://developer.wordpress.org/reference/functions/paginate_links/
With http://codex.wordpress.org/Function_Reference/paginate_links

Attachments (1)

31433.diff (2.2 KB) - added by atimmer 10 years ago.

Download all attachments as: .zip

Change History (7)

#1 @atimmer
10 years ago

  • Summary changed from Add docs to paginate_links $args to Add docs for paginate_links $args argument

@atimmer
10 years ago

#2 @atimmer
10 years ago

  • Keywords has-patch dev-feedback added

31433.diff adds this documentation. This is based on the codex. It probably needs some feedback.

#3 @SergeyBiryukov
10 years ago

  • Milestone changed from Awaiting Review to 4.2

#4 @DrewAPicture
10 years ago

  • Owner set to DrewAPicture
  • Status changed from new to reviewing

#5 @DrewAPicture
10 years ago

  • Type changed from enhancement to defect (bug)

#6 @DrewAPicture
10 years ago

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

In 31854:

Document default arguments for paginate_links() as a hash notation.

Props atimmer.
Fixes #31433.

Note: See TracTickets for help on using tickets.