#58736 closed defect (bug) (fixed)
Dynamic property warning WP_Object_Cache
| Reported by: | spacedmonkey | Owned by: | spacedmonkey |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.3 |
| Component: | Build/Test Tools | Version: | |
| Severity: | normal | Keywords: | php82 has-patch has-unit-tests |
| Cc: | Focuses: |
Description
While testing with memcache enabled on local dev environment in PHP 8.2, I noticed a copy of places where I was getting dynamic property warning.
Deprecated: Creation of dynamic property WP_Object_Cache::$thirty_days is deprecated in /var/www/src/wp-content/object-cache.php on line 959
Deprecated: Creation of dynamic property WP_Object_Cache::$now is deprecated in /var/www/src/wp-content/object-cache.php on line 960
Change History (5)
This ticket was mentioned in PR #4806 on WordPress/wordpress-develop by @spacedmonkey.
3 years ago
#2
- Keywords has-patch has-unit-tests added
@spacedmonkey commented on PR #4806:
3 years ago
#5
Committed in https://core.trac.wordpress.org/changeset/56161
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket: https://core.trac.wordpress.org/ticket/58736