[Plugin: WooCommerce] woocommerce_update_option_X deprecated
-
Hi,
I’m one of the author of the envoimoinscher plugin.
We have been managing our plugin configuration using settings classes extended from WooCommerce WC_Settings_Page. It works fine but when saving this message is displayed:
Notice: The woocommerce_update_option_X action est déprécié depuis la version 2.4.0! Utilisez woocommerce_admin_settings_sanitize_option filter à la place. in C:\wamp\www\wordpress431\wp-includes\functions.php on line 3406
It seems that the message is coming from the
save
function of the original WooCommerce class which uses the woocommerce_update_option_X hook.We are concerned that at one point WooCommerce decides that this function should no longer be supported. Should we stop extending the WC_Settings_Page class for our settings? Or is it just something WooCommerce developers have yet to fix?
Thanks for your insights,
Arnaud
- The topic ‘[Plugin: WooCommerce] woocommerce_update_option_X deprecated’ is closed to new replies.