rebase on oct-10-2023
This commit is contained in:
@@ -38,6 +38,8 @@ class OptionSanitizer {
|
||||
2
|
||||
);
|
||||
}
|
||||
// Cast "Out of stock threshold" field to absolute integer to prevent storing empty value.
|
||||
self::add_filter( 'woocommerce_admin_settings_sanitize_option_woocommerce_notify_no_stock_amount', 'absint' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user