[wp-trac] [WordPress Trac] #58896: Fix WP_List_Table magic methods for PHP 8.2 dynamic properties
WordPress Trac
noreply at wordpress.org
Wed Aug 2 15:51:48 UTC 2023
#58896: Fix WP_List_Table magic methods for PHP 8.2 dynamic properties
-------------------------------------------------+-------------------------
Reporter: antonvlasenko | Owner:
| hellofromTonya
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.4
Component: Administration | Version: 4.0
Severity: normal | Resolution:
Keywords: php82 has-patch has-unit-tests | Focuses: php-
commit | compatibility
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):
* keywords: php82 has-patch has-unit-tests changes-requested => php82 has-
patch has-unit-tests commit
* focuses: => php-compatibility
Comment:
[https://github.com/WordPress/wordpress-develop/pull/4905 PR 4905] is
ready for `commit`.
It's Option 1 but deprecates instead of using `_doing_it_wrong()`, i.e. to
keep parity with the PHP 8.2 deprecation and provide feedback to extenders
to define properties on their child class instead of using dynamic
properties.
I'll prepare the commit shortly.
Also added `php-compatibility` focus to identify this ticket resolves an
incompatibility that PHP 8.2 first introduced.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58896#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list