[wp-trac] [WordPress Trac] #37680: PHP Warning: ini_get_all() has been disabled for security reasons

WordPress Trac noreply at wordpress.org
Tue Aug 23 15:25:13 UTC 2016


#37680: PHP Warning: ini_get_all() has been disabled for security reasons
----------------------------+--------------------
 Reporter:  dd32            |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.6.1
Component:  Bootstrap/Load  |     Version:  4.6
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+--------------------

Comment (by BinaryKitten):

 It's considered bad practice to silence calls as it doesn't actually do
 much other than not show to the world when it generates an error message.
 The error log will still be populating with the message on every load and
 additionally the silence operator actually slows the process down (even
 though it's minute).

 The check version is better as it actually detects the problem and
 processes it

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


More information about the wp-trac mailing list