WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 12 months ago

Last modified 12 months ago

#36894 closed enhancement (duplicate)

Pass $pagenum to the get_pagenum_link filter

Reported by: sebastian.pisula Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Themes Keywords: has-patch
Focuses: Cc:

Description

I want change pagination style and I have only url and I must parse.

Attachments (1)

36894.patch (1.2 KB) - added by sebastian.pisula 4 years ago.

Download all attachments as: .zip

Change History (6)

#1 @swissspidy
4 years ago

  • Component changed from General to Themes
  • Focuses multisite removed
  • Keywords has-patch added
  • Summary changed from New param for get_pagenum_link filter to Pass $pagenum to the get_pagenum_link filter

#2 @swissspidy
3 years ago

  • Keywords needs-refresh added
  • Milestone changed from Awaiting Review to Future Release

#3 @williampatton
12 months ago

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

Looking at the code for the get_pagenum_link() function I can see that recently in 5.2.0 update the filter in there had the $pagenum added - @since 5.2.0 Added the $pagenum argument..

I am not certain of the commit that it was added in however I am marking this as 'fixed'.

Last edited 12 months ago by williampatton (previous) (diff)

#4 @SergeyBiryukov
12 months ago

  • Keywords needs-refresh removed
  • Resolution changed from fixed to duplicate

Sorry I didn't see the ticket earlier, this was resolved in #46667.

#5 @desrosj
12 months ago

  • Milestone Future Release deleted
Note: See TracTickets for help on using tickets.