[wp-trac] [WordPress Trac] #56009: Prepare for PHP 8.2
WordPress Trac
noreply at wordpress.org
Mon Jun 20 06:32:11 UTC 2022
#56009: Prepare for PHP 8.2
----------------------------+---------------------
Reporter: jrf | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.1
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: php82 | Focuses:
----------------------------+---------------------
Comment (by knutsp):
> Deprecate dynamic properties
Is adding
{{{#!php
#[AllowDynamicProperties]
}}}
to all/most/some classes for 6.1, then remove it for classes that, after
further considerations, should not be extended like this, in 6.2 and 6.3,
a way to go?
It sees to me at least `WP_Post`, `WP_Term` and `WP_User` will need
dynamic properties.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56009#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list