[wp-trac] [WordPress Trac] #61873: Check if error_reporting function exists, otherwise breaks php8 installs when disabled in the ini config

WordPress Trac noreply at wordpress.org
Thu Aug 15 03:33:24 UTC 2024


#61873: Check if error_reporting function exists, otherwise breaks php8 installs
when disabled in the ini config
----------------------------+------------------------------
 Reporter:  gansbrest       |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  administration
----------------------------+------------------------------
Changes (by jrf):

 * focuses:  administration, php-compatibility => administration
 * severity:  major => normal


Comment:

 Just noting here for the record that adding `error_reporting` to the
 disabled functions is definitely not good practice and doesn't improve
 security at all.

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


More information about the wp-trac mailing list