[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
Wed Feb 8 18:34:17 UTC 2012
#15770: WP_Query queries for non-existant pages result in is_404() = false &
is_page() = true
-------------------------------------------------+-------------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
Component: Query | Release
Severity: normal | Version: 2.9
Keywords: has-patch dev-feedback needs- | Resolution:
testing |
-------------------------------------------------+-------------------------
Comment (by nacin):
I mentioned to benbalter how the logic in [attachment:15770.diff] could be
improved a bit. Then I tried to actually improve it myself, and got fed up
with the current statements in handle_404(), and ended up with
[attachment:15770.2.diff].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15770#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list