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

WordPress Trac noreply at wordpress.org
Sun Jun 16 12:51:59 UTC 2013


#11694: WP should do sanity checks for paginated posts, pages and comments
-------------------------------+-----------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  dd32
     Type:  defect (bug)       |      Status:  accepted
 Priority:  normal             |   Milestone:  Future Release
Component:  Template           |     Version:  2.9
 Severity:  major              |  Resolution:
 Keywords:  has-patch          |
-------------------------------+-----------------------------

Comment (by joostdevalk):

 The patch I just added fixes point 1 in @here's comment above: ie. the
 fact that WP serves a 200 for a page that doesn't exist by, if the post is
 paginated, checking how much pages are in the post and acting accordingly,
 by either redirecting to the first page of the post or by providing a
 proper URL.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/11694#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list