[wp-trac] [WordPress Trac] #48693: Silence ini_set caused error or check if function_exists first

WordPress Trac noreply at wordpress.org
Thu Jan 16 11:51:41 UTC 2020


#48693: Silence ini_set caused error or check if function_exists first
----------------------------+-----------------------------
 Reporter:  drazon          |       Owner:  SergeyBiryukov
     Type:  defect (bug)    |      Status:  accepted
 Priority:  normal          |   Milestone:  5.3.3
Component:  Bootstrap/Load  |     Version:  5.3
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+-----------------------------
Changes (by AkSDvP):

 * Attachment "48693.diff" added.

 Added a condition check to check whether if "ini_set" core function is
 exists, then only include "ini_set" statement. Or else suppress the
 errors.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48693>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list