Permalink
Browse files

Allow failed orders to be edited

  • Loading branch information...
mikejolley committed May 16, 2016
1 parent 36021ab commit 094afb4745de01fdf3d4b39c837075cbc123f560
Showing with 1 addition and 1 deletion.
  1. +1 −1 includes/abstracts/abstract-wc-order.php
@@ -2737,6 +2737,6 @@ public function needs_shipping_address() {
* @return bool
*/
public function is_editable() {
return apply_filters( 'wc_order_is_editable', in_array( $this->get_status(), array( 'pending', 'on-hold', 'auto-draft' ) ), $this );
return apply_filters( 'wc_order_is_editable', in_array( $this->get_status(), array( 'pending', 'on-hold', 'auto-draft', 'failed' ) ), $this );
}
}

0 comments on commit 094afb4

Please sign in to comment.