[wp-trac] [WordPress Trac] #31939: paginate_links() - incorrect links on return to the first page

WordPress Trac noreply at wordpress.org
Tue May 5 21:58:25 UTC 2015


#31939: paginate_links() - incorrect links on return to the first page
--------------------------------------+---------------------------
 Reporter:  bobbingwide               |       Owner:  boonebgorges
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.3
Component:  Themes                    |     Version:  4.1.1
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch, needs-testing  |     Focuses:
--------------------------------------+---------------------------
Changes (by boonebgorges):

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


Comment:

 In [changeset:"32359"]:
 {{{
 #!CommitTicketReference repository="" revision="32359"
 In `paginate_links()`, improve handling of custom pagination query vars.

 Custom pagination query vars, as provided in the 'base' parameter, must be
 detected in the current page URL and removed before generating fresh
 pagination
 links. The logic introduced in this changeset ensures that these custom
 query vars are properly detected in cases where the 'format' param
 contains
 a `#`.

 This is a follow-up to [31203] #30831.

 Fixes #31939.
 }}}

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


More information about the wp-trac mailing list