[wp-trac] [WordPress Trac] #23383: High archive page numbers cause invalid database queries

WordPress Trac noreply at wordpress.org
Thu Jun 26 18:27:52 UTC 2014


#23383: High archive page numbers cause invalid database queries
--------------------------+-----------------------------
 Reporter:  Viper007Bond  |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.0
Component:  Database      |     Version:  3.6
 Severity:  normal        |  Resolution:
 Keywords:  REVERT        |     Focuses:
--------------------------+-----------------------------
Changes (by nacin):

 * keywords:  has-patch => REVERT
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 No. No, absolutely not. Why slow down this function?

 An aside, does this even work? When can an integer ever be greater than
 PHP_INT_MAX?

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


More information about the wp-trac mailing list