Changeset 3305371
- Timestamp:
- 06/02/2025 11:32:23 PM (8 months ago)
- Location:
- content-api
- Files:
-
- 4 edited
- 1 copied
-
tags/1.0.8 (copied) (copied from content-api/trunk)
-
tags/1.0.8/content-api.php (modified) (2 diffs)
-
tags/1.0.8/readme.txt (modified) (2 diffs)
-
trunk/content-api.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
content-api/tags/1.0.8/content-api.php
r3303231 r3305371 5 5 * Plugin URI: https://www.polyplugins.com/contact/ 6 6 * Description: Adds various endpoints to create content 7 * Version: 1.0. 77 * Version: 1.0.8 8 8 * Requires at least: 6.5 9 9 * Requires PHP: 7.4 … … 521 521 } 522 522 523 if ($product_id && $sku) {524 return new WP_Error('conflicting_identifiers', 'Both Product ID and SKU are provided. Please provide only one.', array('status' => 400));525 }526 527 523 if ($sku && !$product_id) { 528 524 $product_id_by_sku = wc_get_product_id_by_sku($sku); -
content-api/tags/1.0.8/readme.txt
r3303231 r3305371 3 3 Tags: content api, rest api, content, creative, api 4 4 Tested up to: 6.8 5 Stable tag: 1.0. 75 Stable tag: 1.0.8 6 6 Requires PHP: 7.4 7 7 License: GPLv3 … … 85 85 == Changelog == 86 86 87 = 1.0.8 = 88 * Updated: [Update Product](https://www.polyplugins.com/docs/content-api/api/update-product/) endpoint to handle updating sku when product id is provided. 89 87 90 = 1.0.7 = 88 91 * Added: weight attribute to results of [Get Product](https://www.polyplugins.com/docs/content-api/api/get-product/) endpoint -
content-api/trunk/content-api.php
r3303231 r3305371 5 5 * Plugin URI: https://www.polyplugins.com/contact/ 6 6 * Description: Adds various endpoints to create content 7 * Version: 1.0. 77 * Version: 1.0.8 8 8 * Requires at least: 6.5 9 9 * Requires PHP: 7.4 … … 521 521 } 522 522 523 if ($product_id && $sku) {524 return new WP_Error('conflicting_identifiers', 'Both Product ID and SKU are provided. Please provide only one.', array('status' => 400));525 }526 527 523 if ($sku && !$product_id) { 528 524 $product_id_by_sku = wc_get_product_id_by_sku($sku); -
content-api/trunk/readme.txt
r3303231 r3305371 3 3 Tags: content api, rest api, content, creative, api 4 4 Tested up to: 6.8 5 Stable tag: 1.0. 75 Stable tag: 1.0.8 6 6 Requires PHP: 7.4 7 7 License: GPLv3 … … 85 85 == Changelog == 86 86 87 = 1.0.8 = 88 * Updated: [Update Product](https://www.polyplugins.com/docs/content-api/api/update-product/) endpoint to handle updating sku when product id is provided. 89 87 90 = 1.0.7 = 88 91 * Added: weight attribute to results of [Get Product](https://www.polyplugins.com/docs/content-api/api/get-product/) endpoint
Note: See TracChangeset
for help on using the changeset viewer.