[wp-trac] [WordPress Trac] #62047: check if ini_set is available to prevent Fatal Errors

WordPress Trac noreply at wordpress.org
Fri Sep 13 18:11:21 UTC 2024


#62047: check if ini_set is available to prevent Fatal Errors
--------------------------+------------------------
 Reporter:  maltfield     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------

Comment (by swissspidy):

 It's literally about the same thing, in the same `wp_debug_mode()`
 function.

 The only difference is that prior to PHP 8 this triggered warnings, but
 starting with PHP 8 this triggers a fatal error.

 Let's continue the discussion there :-)

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


More information about the wp-trac mailing list