[wp-trac] [WordPress Trac] #14729: Fatal errors after [15531] when conditional tags are used too early

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 5 09:10:43 UTC 2010


#14729: Fatal errors after [15531] when conditional tags are used too early
--------------------------+-------------------------------------------------
 Reporter:  zamoose       |       Owner:              
     Type:  defect (bug)  |      Status:  new         
 Priority:  normal        |   Milestone:  3.1         
Component:  General       |     Version:              
 Severity:  critical      |    Keywords:  dev-feedback
--------------------------+-------------------------------------------------

Comment(by markjaquith):

 I upgraded my site to trunk and got WSOD on the front, and an is_feed
 fatal error on the backend that gave no clue as to which plugin might be
 causing it. We should check {{{is_object( $wp_query )}}} before calling a
 method on it, rather than issue a fatal error.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14729#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list