Skip to content

Commit

Permalink
fixed the create producs method in products API
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiosanches committed Jun 24, 2014
1 parent 52a5ae9 commit 49c80e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/api/class-wc-api-products.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public function create_product( $data ) {
}

// Save product meta fields
$meta = save_product_meta( $id, $data );
$meta = $this->save_product_meta( $id, $data );
if ( is_wp_error( $meta ) ) {
return $meta;
}
Expand Down

0 comments on commit 49c80e6

Please sign in to comment.