[wp-trac] [WordPress Trac] #56511: PHP 8.2 Deprecated notices

WordPress Trac noreply at wordpress.org
Mon Sep 5 22:49:21 UTC 2022


#56511: PHP 8.2 Deprecated notices
-------------------------+------------------------
 Reporter:  dunhakdis    |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  General      |     Version:  6.0.2
 Severity:  normal       |  Resolution:  duplicate
 Keywords:               |     Focuses:
-------------------------+------------------------
Changes (by peterwilsoncc):

 * keywords:  needs-patch =>
 * resolution:   => duplicate
 * status:  new => closed
 * component:  Database => General
 * milestone:  Awaiting Review =>


Comment:

 Hi @dunhakdis and welcome to trac!

 There are a few tickets for handling the deprecation of dynamic properties
 in PHP 8.2.

 #56034 covers a longer term solution using traits to handle the issue via
 magic methods.
 #56513 was created to add `#[AllowDynamicProperties]` as a short term fix,
 [https://github.com/WordPress/wordpress-develop/pull/3123 a pull request
 exists for adding these].

 I'll close this ticket as a duplicate of #56513 as it includes some of the
 background discussion on how WordPress intends to handle the deprecation
 in the short term.

 Thanks again for your report.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56511#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list