Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.2 Compatibility #32

Open
jehiesta opened this issue Oct 25, 2023 · 0 comments
Open

PHP 8.2 Compatibility #32

jehiesta opened this issue Oct 25, 2023 · 0 comments

Comments

@jehiesta
Copy link

Just observed some PHP 8.2 Deprecation Notices for the Label Helpers portion of the User Taxonomy Class.

Deprecated: Creation of dynamic property WP_User_Taxonomy::$tax_singular is deprecated
Deprecated: Creation of dynamic property WP_User_Taxonomy::$tax_plural is deprecated
Deprecated: Creation of dynamic property WP_User_Taxonomy::$tax_singular_low is deprecated
Deprecated: Creation of dynamic property WP_User_Taxonomy::$tax_plural_low is deprecated

I've read that these will stop working in PHP 9. In the meantime, these notices can be suppressed by adding #[AllowDynamicProperties] right above the class declaration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant