Fix #49982 - "Creation of dynamic property WC_Beta_Tester::$wporg_data is deprecated" on PHP 8.2 (#49983)

* Fix #49982

Fixes #49982

* Add changefile(s) from automation for the following project(s): woocommerce-beta-tester

---------

Co-authored-by: Vladimir Reznichenko <kalessil@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
This commit is contained in:
Marco Almeida 2024-07-26 17:31:44 +01:00 committed by GitHub
parent 0b13563a2f
commit 9fefa6a54d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Significance: minor
Type: fix
Fix "Creation of dynamic property WC_Beta_Tester::$wporg_data is deprecated" on PHP 8.2

View File

@ -33,6 +33,13 @@ class WC_Beta_Tester {
*/
protected static $instance = null;
/**
* WP.org data
*
* @var object
*/
private $wporg_data;
/**
* Main Instance.
*/