[wp-trac] [WordPress Trac] #51894: PHP 8: Invalid functions added to hooks now cause fatals
WordPress Trac
noreply at wordpress.org
Tue Dec 1 07:01:00 UTC 2020
#51894: PHP 8: Invalid functions added to hooks now cause fatals
-------------------------------------------+---------------------
Reporter: dlh | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.6
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: php8 has-patch has-unit-tests | Focuses:
-------------------------------------------+---------------------
Comment (by knutsp):
Must agree with @TimothyBlynJacobs . This ticket seems to want to combat
PHP8 strictness, rather that ensure compatibility. Like an "undoing".
Making this a warning should only be temporary, by a constant or a plugin,
to help migration/upgrading. Core, with no modifications, should just
accept it as is, a fatal error caused by a developer.
Make the change to PHP8 as soft as possible, offer help for some time or
under conditions, but not "undo" permanently.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51894#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list