Allow draft parents. Closes #540.
This commit is contained in:
parent
ceff57323c
commit
9cf0d02a4d
|
@ -390,7 +390,7 @@ function woocommerce_product_data_box() {
|
||||||
if (sizeof($posts_in)>0) :
|
if (sizeof($posts_in)>0) :
|
||||||
$args = array(
|
$args = array(
|
||||||
'post_type' => 'product',
|
'post_type' => 'product',
|
||||||
'post_status' => 'publish',
|
'post_status' => 'any',
|
||||||
'numberposts' => -1,
|
'numberposts' => -1,
|
||||||
'orderby' => 'title',
|
'orderby' => 'title',
|
||||||
'order' => 'asc',
|
'order' => 'asc',
|
||||||
|
|
Loading…
Reference in New Issue