From dc666f6b272b5a9b37d0f7e040585d491085ad24 Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Fri, 14 Aug 2015 14:40:46 -0300 Subject: [PATCH] Added missing $menu_order on WC_Ajax::add_variation() --- includes/class-wc-ajax.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/class-wc-ajax.php b/includes/class-wc-ajax.php index f0e60541d52..bcabd538742 100644 --- a/includes/class-wc-ajax.php +++ b/includes/class-wc-ajax.php @@ -821,6 +821,7 @@ class WC_AJAX { $image_id = 0; $_thumbnail_id = ''; $variation = get_post( $variation_id ); // Get the variation object + $menu_order = 0; include( 'admin/meta-boxes/views/html-variation-admin.php' ); }