Merge pull request #6985 from theportlandcompany/master

Using post_status of 'any' causes a conflict with the WP Invoice Plugin ...
This commit is contained in:
Mike Jolley 2014-12-30 14:48:28 +00:00
commit bee8b1fbfa
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ class WC_Product_Variable extends WC_Product {
'orderby' => 'menu_order',
'order' => 'ASC',
'fields' => 'ids',
'post_status' => 'any',
'post_status' => 'publish',
'numberposts' => -1
);