E_NOTICE with WP_DEBUG when calling get_the_ID()
|Reported by:||tillkruess||Owned by:|
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.
Change History (4)
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
Note: See TracTickets for help on using tickets.