Deprecated: woocommerce_product_write_panels
-
Hi, I noticed this deprecation message in my logs recently when editing Products.
stack from xdebug:
PHP Deprecated: woocommerce_product_write_panels is <strong>deprecated</strong> since version 2.6! Use Use woocommerce_product_data_panels action instead. instead. in .../wp-includes/functions.php on line 5691 PHP Stack trace: PHP 1. {main}() .../wp-admin/post.php:0 PHP 2. require() .../wp-admin/post.php:206 PHP 3. do_meta_boxes() .../wp-admin/edit-form-advanced.php:688 PHP 4. WC_Meta_Box_Product_Data::output() .../wp-admin/includes/template.php:1395 PHP 5. include() .../wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php:33 PHP 6. wc_do_deprecated_action() .../wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php:54 PHP 7. wc_deprecated_hook() .../wp-content/plugins/woocommerce/includes/wc-deprecated-functions.php:34 PHP 8. _deprecated_hook() .../wp-content/plugins/woocommerce/includes/wc-deprecated-functions.php:79 PHP 9. trigger_error() .../wp-includes/functions.php:5691
Env:
WooCommerce version: 6.3.1
WordPress version: 5.9.2
PHP version: 7.4.28
theme: WP 2020C-
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Deprecated: woocommerce_product_write_panels’ is closed to new replies.