makeitworkpress / wp-custom-fields

WP Custom Fields is an options, metabox and customizer framework for WordPress aimed at speeding-up plug-in and theme development.
https://makeitwork.press/scripts/wp-custom-fields/
GNU General Public License v3.0
70 stars 15 forks source link

PHP 8.2 dynamic static properties are not allowed #13

Closed leichim closed 10 months ago

leichim commented 11 months ago

PHP 8.2 throws deprecation error for dynamic properties created in classed that extend the filed.

henrik-dons commented 11 months ago

deprecated-notices

See attached screenshot.

Deprecated notices show up when using WordPress 6.4.1 and PHP 8.2 and using example code: https://github.com/makeitworkpress/wp-custom-fields/wiki#adding-custom-fields

leichim commented 10 months ago

These issues should now be resolved.