[wp-trac] [WordPress Trac] #36708: Silence ini_set() in wp_debug_mode() if WP_DEBUG is off

WordPress Trac noreply at wordpress.org
Thu Apr 28 23:31:38 UTC 2016


#36708: Silence ini_set() in wp_debug_mode() if WP_DEBUG is off
----------------------------+--------------------
 Reporter:  SergeyBiryukov  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.5.2
Component:  Bootstrap/Load  |     Version:  4.5
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+--------------------

Comment (by avagoldin):

 #36692
 Maybe {{{ini_set( 'display_errors', 0 );}}} only if {{{WP_DEBUG}}} is
 false?

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


More information about the wp-trac mailing list