[wp-trac] [WordPress Trac] #58736: Dynamic property warning WP_Object_Cache

WordPress Trac noreply at wordpress.org
Fri Jul 7 11:30:29 UTC 2023


#58736: Dynamic property warning WP_Object_Cache
--------------------------------------------+---------------------------
 Reporter:  spacedmonkey                    |       Owner:  spacedmonkey
     Type:  defect (bug)                    |      Status:  closed
 Priority:  normal                          |   Milestone:  6.3
Component:  Build/Test Tools                |     Version:
 Severity:  normal                          |  Resolution:  fixed
 Keywords:  php82 has-patch has-unit-tests  |     Focuses:
--------------------------------------------+---------------------------
Changes (by spacedmonkey):

 * owner:  (none) => spacedmonkey
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56161" 56161]:
 {{{
 #!CommitTicketReference repository="" revision="56161"
 Build/Test: Fix dynamic property deprecation warning in object cache drop-
 in.

 Fix deprecation warning for dynamic property in object cache drop-in used
 in core unit tests.

 Dynamic (non-explicitly declared) properties are deprecated as of PHP 8.2
 and are expected to become a fatal error in PHP 9.0.

 Props spacedmonkey, johnbillion.
 Fixes #58736.
 See #56034.
 }}}

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


More information about the wp-trac mailing list