Allow draft parents. Closes #540.

This commit is contained in:
Mike Jolley 2012-01-27 15:19:09 +00:00
parent ceff57323c
commit 9cf0d02a4d
1 changed files with 1 additions and 1 deletions

View File

@ -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',