mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@56161 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7035b615c4
commit
2fbf610b25
@ -913,6 +913,20 @@ class WP_Object_Cache {
|
||||
*/
|
||||
public $blog_prefix = '';
|
||||
|
||||
/**
|
||||
* Thirty days in seconds.
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $thirty_days;
|
||||
|
||||
/**
|
||||
* Current unix time stamp.
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $now;
|
||||
|
||||
/**
|
||||
* Instantiates the Memcached class.
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user