[wp-trac] [WordPress Trac] #31839: Setting error reporting level for wp_debug_mode

WordPress Trac noreply at wordpress.org
Wed Apr 8 04:06:40 UTC 2015


#31839: Setting error reporting level for wp_debug_mode
----------------------------+-----------------------------
 Reporter:  aifrim          |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Future Release
Component:  Bootstrap/Load  |     Version:  4.1.1
 Severity:  normal          |  Resolution:
 Keywords:  dev-feedback    |     Focuses:
----------------------------+-----------------------------
Changes (by jeremyfelt):

 * keywords:   => dev-feedback
 * milestone:  Awaiting Review => Future Release


Comment:

 Hi @aifrim, thanks for the ticket!

 I don't think a `WP_DEBUG_LEVEL` would hurt, though I wouldn't want to
 encourage devs to silence messages that should be seen during development.
 Could removing strict notices be enough?

 Related: #24357, where the decision to show `E_STRICT` in PHP 5.4 was made
 (accepting that it may be too much).

 Also, an old duplicate of introducing some sort of log level constant
 exists in #14371, where it was decided at the time to let things be.

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


More information about the wp-trac mailing list