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

WordPress Trac noreply at wordpress.org
Mon Jun 16 12:37:46 UTC 2014


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

Comment (by SergeyBiryukov):

 [attachment:24606.5.diff] reverts [28671] and uses the code from
 [source:tags/3.9.1/src/wp-content/themes/twentyfourteen/inc/template-
 tags.php#L11 twentyfourteen_paging_nav()] to set better defaults, to avoid
 empty `href` attributes (which [28671] attempted to fix) or canonical
 redirects.

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


More information about the wp-trac mailing list