• Resolved pavloborysenko

    (@pavloborysenko)


    Hello Team

    I tested your beta version 3.3.0
    And I found one nasty thing related to options

    I use your function woocommerce_admin_fields() for type – select. I’ve found that now if the keys are numeric this function will not save it.

    In details:
    file – “plugins\woocommerce\includes\admin\class-wc-admin-settings.php” function save_fields()
    https://c2n.me/3QlXpW3.png

    In this form everything will work well $value = in_array( $raw_value, $allowed_values) ? $raw_value : $default;

    Please write me if you will use it in the new version. This can reset the settings of many clients (where this function is used woocommerce_admin_fields() )

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘woocommerce 3.3.0 Beta options’ is closed to new replies.