diff --git a/includes/class-wc-ajax.php b/includes/class-wc-ajax.php index fb831fb489d..62f47468f01 100644 --- a/includes/class-wc-ajax.php +++ b/includes/class-wc-ajax.php @@ -2716,7 +2716,7 @@ class WC_AJAX { * @param array $data */ private static function variation_bulk_action_variable_regular_price( $variations, $data ) { - if ( empty( $data['value'] ) ) { + if ( ! isset( $data['value'] ) ) { return; } @@ -2742,7 +2742,7 @@ class WC_AJAX { * @param array $data */ private static function variation_bulk_action_variable_sale_price( $variations, $data ) { - if ( empty( $data['value'] ) ) { + if ( ! isset( $data['value'] ) ) { return; }