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

WordPress Trac noreply at wordpress.org
Mon Apr 15 15:34:26 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:  servehappy has-patch has-unit-tests  |     Focuses:
-------------------------------------------------+---------------------

Comment (by tmdesigned):

 Just for clarity, neither approach allows the notices to be generated.
 46813.4 does allow the _doing_it_wrong function to start, but doesn't
 allow it to run long enough to create the actual notices via
 {{{trigger_error}}} (unless the filter is modified elsewhere with higher
 priority).

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


More information about the wp-trac mailing list