[wp-trac] [WordPress Trac] #25273: wp_link_pages shouldn't be able to use a negative page number

WordPress Trac noreply at wordpress.org
Mon Sep 14 02:45:35 UTC 2015


#25273: wp_link_pages shouldn't be able to use a negative page number
-------------------------------+-----------------------------
 Reporter:  betzster           |       Owner:  wonderboymusic
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:  0.71
 Severity:  trivial            |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:  template
-------------------------------+-----------------------------
Changes (by wonderboymusic):

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


Comment:

 In [changeset:"34108"]:
 {{{
 #!CommitTicketReference repository="" revision="34108"
 In `wp_link_pages()`, ensure that `$prev` is greater than `0`.

 Props betzster.
 Fixes #25273.
 }}}

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


More information about the wp-trac mailing list