[wp-trac] [WordPress Trac] #33112: Suppress calls to ini_set in core

WordPress Trac noreply at wordpress.org
Fri Jul 24 15:11:11 UTC 2015


#33112: Suppress calls to ini_set in core
--------------------------+------------------------------
 Reporter:  mdwheele      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by jdgrimes):

 What about checking if `ini_set()` is callable before attempting to call
 it instead? I think that would be preferable to using the `@` operator,
 which should (almost) always be avoided.

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


More information about the wp-trac mailing list