Changes between Initial Version and Version 2 of Ticket #21394
- Timestamp:
- 09/05/2012 09:50:53 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21394
- Property Cc leho@… added
-
Ticket #21394 – Description
initial v2 15 15 Since WP_Query::get_queried_object() first sets its result as null and returning a value is actually conditional, I don't see a way around these checks. Enlighten me please if I'm wrong. 16 16 17 I've looked at #19035, #18 164, #17662. All of them are situations where there's at least something there in $page_obj. None of them seem to discuss or patch NULL values.17 I've looked at #19035, #18614, #17662. All of them are situations where there's at least something there in $page_obj. None of them seem to discuss or patch NULL values. 18 18 19 19 I discovered this on 3.3.2, but todays trunk [source:trunk/wp-includes/query.php@21248#L3340] has the same code.