Added missing $menu_order on WC_Ajax::add_variation()
This commit is contained in:
parent
3f41f4f75b
commit
dc666f6b27
|
@ -821,6 +821,7 @@ class WC_AJAX {
|
||||||
$image_id = 0;
|
$image_id = 0;
|
||||||
$_thumbnail_id = '';
|
$_thumbnail_id = '';
|
||||||
$variation = get_post( $variation_id ); // Get the variation object
|
$variation = get_post( $variation_id ); // Get the variation object
|
||||||
|
$menu_order = 0;
|
||||||
|
|
||||||
include( 'admin/meta-boxes/views/html-variation-admin.php' );
|
include( 'admin/meta-boxes/views/html-variation-admin.php' );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue