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

WordPress Trac noreply at wordpress.org
Fri Feb 21 19:01:19 UTC 2014


#25273: wp_link_pages shouldn't be able to use a negative page number
-----------------------------------+------------------------------
 Reporter:  betzster               |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Posts, Post Types      |     Version:  trunk
 Severity:  trivial                |  Resolution:
 Keywords:  2nd-opinion has-patch  |     Focuses:  template
-----------------------------------+------------------------------

Comment (by betzster):

 Replying to [comment:3 jessepollak]:
 > The only situation where this is an issue is when the $page ID <= 0,
 which I'm not sure ever really happens.

 I saw this on a live site, though I don't remember the details anymore.

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


More information about the wp-trac mailing list