[wp-trac] [WordPress Trac] #50343: [PHP 8] Fix deprecation notices for optional function parameters declared before required parameter.
WordPress Trac
noreply at wordpress.org
Mon Jun 8 18:34:24 UTC 2020
#50343: [PHP 8] Fix deprecation notices for optional function parameters declared
before required parameter.
-------------------------+-------------------------------
Reporter: ayeshrajans | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
-------------------------+-------------------------------
Changes (by desrosj):
* version: trunk =>
* type: defect (bug) => enhancement
* milestone: Awaiting Review => Future Release
Comment:
Thanks for getting the ball rolling on this one, @ayeshrajans! This seems
reasonable, but I am going to mark as Future Release.
Historically, changes are not made to WordPress to support new versions of
PHP until those versions enter the feature freeze/beta part of the release
cycle. The idea is that this prevents additional work if the upstream
implementation changes, or if features happen to be removed entirely. It
also allows all of the compatibility changes to be bundled (as much as
possible) into a single release, which makes communication through dev
notes and documentation much easier.
I've updated the [https://make.wordpress.org/core/handbook/references/php-
compatibility-and-wordpress-versions/ PHP Compatibility and WordPress
Versions] page of the handbook to reflect this.
If there are more tickets like this, please do go ahead and make them. But
just know the priority for these will be for WP 5.6 later this year.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50343#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list