[wp-trac] [WordPress Trac] #11694: WP should do sanity checks for paginated posts, pages and comments

WordPress Trac noreply at wordpress.org
Thu Sep 24 06:03:50 UTC 2015


#11694: WP should do sanity checks for paginated posts, pages and comments
---------------------------------+-----------------------
 Reporter:  Denis-de-Bernardy    |       Owner:
     Type:  defect (bug)         |      Status:  assigned
 Priority:  normal               |   Milestone:  4.4
Component:  Posts, Post Types    |     Version:  2.9
 Severity:  major                |  Resolution:
 Keywords:  has-patch 3.9-early  |     Focuses:  template
---------------------------------+-----------------------
Changes (by wonderboymusic):

 * milestone:  Future Release => 4.4


Comment:

 I found an amazingly awesome bug in Rewrite - makes it where
 `get_query_var( 'page' )` returns `/4` .... no problem, let's just cast to
 `(int)` .... what's that you say? The cast results in `0`?!?!?

 See [attachment:11694.2.diff 11694.2.diff]

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


More information about the wp-trac mailing list