[wp-trac] [WordPress Trac] #19412: Changeset 18995 can lead to Notice: Undefined index: wp_the_query
WordPress Trac
wp-trac at lists.automattic.com
Sun Dec 4 22:41:59 UTC 2011
#19412: Changeset 18995 can lead to Notice: Undefined index: wp_the_query
-----------------------------+-----------------------
Reporter: bobbingwide | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Query | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch close |
-----------------------------+-----------------------
Changes (by bobbingwide):
* status: closed => reopened
* resolution: wontfix =>
Comment:
May I refer you to this blog post
http://nacin.com/2010/04/23/5-ways-to-debug-wordpress/
it contains
WP_DEBUG will often reveal potential problems in your code, such as
unchecked indexes (empty() and isset() are your friend) and undefined
variables. '''(You may even find problems in WordPress itself, in which
case you should file a bug report.)'''
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19412#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list