Skip to content

Commit

Permalink
fix: warning while change bulk order status in vendor dashboard is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
saimonh3 authored and sabbir1991 committed Feb 27, 2019
1 parent eefd348 commit 4bea638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/wc-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ function dokan_bulk_order_status_change() {
}

$status = sanitize_text_field( $postdata['status'] );
$orders = sanitize_text_field( $postdata['bulk_orders'] );
$orders = array_map( 'sanitize_text_field', $postdata['bulk_orders'] );

// -1 means bluk action option value
$excluded_status = array( '-1', 'cancelled', 'refunded' );
Expand Down

0 comments on commit 4bea638

Please sign in to comment.