[wp-trac] [WordPress Trac] #25798: Certain single CPT items result in 404 since 3.7

WordPress Trac noreply at wordpress.org
Fri Feb 21 22:03:58 UTC 2014


#25798: Certain single CPT items result in 404 since 3.7
-------------------------------+------------------------------
 Reporter:  boonebgorges       |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  3.7
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by duck_):

 Good catch.

 Untested, but this could probably be fixed by tightening up the matching
 in `class-wp.php`, e.g. also check there's no "post_type=page" in `$query`
 or it's not "post_type=page".

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


More information about the wp-trac mailing list