[wp-trac] [WordPress Trac] #17034: E_NOTICE with WP_DEBUG when calling get_the_ID()
WordPress Trac
wp-trac at lists.automattic.com
Sun Apr 3 13:22:39 UTC 2011
#17034: E_NOTICE with WP_DEBUG when calling get_the_ID()
--------------------------+-----------------------------
Reporter: tillkruess | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: minor | Keywords:
--------------------------+-----------------------------
When get_the_ID() is called, but $post is NULL (for example on a 404 page)
a E_NOTICE is caused when WP_DEBUG is set to TRUE.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17034>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list