From 88b7af1f3fd587faef7799fc42b51234ab014fb6 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Wed, 12 Dec 2012 16:00:11 +0000 Subject: [PATCH] Only show actions when needed. #1755 --- admin/post-types/writepanels/writepanel-order_data.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/admin/post-types/writepanels/writepanel-order_data.php b/admin/post-types/writepanels/writepanel-order_data.php index 5e7fcebda54..d0ef9e8234b 100644 --- a/admin/post-types/writepanels/writepanel-order_data.php +++ b/admin/post-types/writepanels/writepanel-order_data.php @@ -450,6 +450,7 @@ function woocommerce_order_actions_meta_box( $post ) { } ?> + status, array( 'processing', 'on-hold', 'complete' ) ) ) : ?> payment_gateways->payment_gateways(); @@ -465,9 +466,11 @@ function woocommerce_order_actions_meta_box( $post ) { echo ''; } + echo ''; ?> +