[wp-trac] [WordPress Trac] #24606: Paginate links' "base" default value causes page 2 to display links incorrectly.

WordPress Trac noreply at wordpress.org
Fri Jun 20 17:11:15 UTC 2014


#24606: Paginate links' "base" default  value causes page 2 to display links
incorrectly.
---------------------------------------------+-----------------------------
 Reporter:  Nessworthy                       |       Owner:  SergeyBiryukov
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.0
Component:  General                          |     Version:  2.1
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  template
---------------------------------------------+-----------------------------
Changes (by wonderboymusic):

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


Comment:

 In [changeset:"28785"]:
 {{{
 #!CommitTicketReference repository="" revision="28785"
 Cleanup after [28671]:
 * Set better defaults in `paginate_links()`, so that themes don't have to
 calculate them on their own, like Twenty Fourteen does now.
 * Don't set page 1 to `?page=1` or `/page/1/` - that will force a
 canonical redirect.
 * Add and cleanup unit tests

 Props obenland, SergeyBiryukov, wonderboymusic.
 Fixes #24606.
 }}}

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


More information about the wp-trac mailing list