[wp-trac] [WordPress Trac] #36894: Pass $pagenum to the get_pagenum_link filter

WordPress Trac noreply at wordpress.org
Fri Aug 23 20:37:23 UTC 2019


#36894: Pass $pagenum to the get_pagenum_link filter
-------------------------------------+-----------------------------
 Reporter:  sebastian.pisula         |       Owner:  (none)
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:  Future Release
Component:  Themes                   |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+-----------------------------
Changes (by williampatton):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Looking at the code for the `get_pagenum_link()` function I can see that
 recently in 5.3.0 update the filter had the $page 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'.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/36894#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list