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

WordPress Trac noreply at wordpress.org
Wed Aug 17 14:08:10 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 blobaugh):

 From http://php.net/manual/en/function.ini-set.php


   Returns the old value on success, FALSE on failure.

 I think we should follow in line here an return a false value. That will
 signify a possible issue with the call. Alternatively it could return a
 `WP_Error` if having the `ini_*` functions available is a hard
 requirement.

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


More information about the wp-trac mailing list