[wp-trac] [WordPress Trac] #15770: WP_Query queries for non-existant pages result in is_404() = false & is_page() = true

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 16 19:38:57 UTC 2012


#15770: WP_Query queries for non-existant pages result in is_404() = false &
is_page() = true
--------------------------+---------------------
 Reporter:  dd32          |       Owner:  ryan
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.4
Component:  Query         |     Version:  2.9
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by scribu):

 This ticket seems to talk about `?pagename`, but the actual patch seems to
 have more to do with `?page`.

 In any case, I foresee a lot of complaints from query_posts() fans. :)

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


More information about the wp-trac mailing list