Reduce confusion on using the all_meta filter

This commit is contained in:
Florian Ludwig 2014-08-23 19:07:10 +02:00 committed by Ninos Ego
parent a175968805
commit 35de0596cf
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ class WC_API_Orders extends WC_API_Resource {
$item_meta = array();
$hideprefix = $filter['all_meta'] == true ? null : '_';
$hideprefix = $filter['all_meta'] == 'true' ? null : '_';
foreach ( $meta->get_formatted( $hideprefix ) as $meta_key => $formatted_meta ) {
$item_meta[] = array(