[wp-trac] [WordPress Trac] #46813: wp_die() may generate doing_it_wrong notices, confusing other WP error handling

WordPress Trac noreply at wordpress.org
Fri Apr 5 16:25:05 UTC 2019


#46813: wp_die() may generate doing_it_wrong notices, confusing other WP error
handling
----------------------------+---------------------
 Reporter:  ohiosierra      |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  5.2
Component:  Bootstrap/Load  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+---------------------
Changes (by tmdesigned):

 * Attachment "46813.diff" added.

 Check for $wp_query before trying is_feed, is_comment_feed, and
 is_trackback

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46813>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list