[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 04:42:05 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
----------------------------+------------------------------
Comment (by martin.krcho):
Adding the extra checks to `load-styles.php` and `load-scripts.php` seems
sensible to me.
I completely agree with @jrf that disabling `error_reporting` function is
not good practice. For me personally it's one of those weird edge cases
WordPress "should" work around because it runs 43% of the web.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61873#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list