Skip to content

v1.0.4

Choose a tag to compare

@CapitanPNG CapitanPNG released this 14 Oct 13:52
· 7 commits to main since this release

Fixed

  • POST /woocommerce/products now saves gallery on every WPML translation. With WooCommerce Multilingual active, a translation whose gallery was the same as the default language's was left with no gallery of its own, and GET /woocommerce/products answered gallery_image_ids: [] for it.
  • POST /woocommerce/variant-products no longer rejects a translated variation with 400 invalid_param ("option '…' is not enabled on the parent product") when its value is offered by its parent. With WPML, the parent's options could be read in another language than the variation's, for example when the update put a variation out of stock.