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:
commit
bee8b1fbfa
|
@ -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
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue