Changeset 3289306
- Timestamp:
- 05/07/2025 04:28:53 PM (9 months ago)
- Location:
- content-api
- Files:
-
- 4 edited
- 1 copied
-
tags/1.0.5 (copied) (copied from content-api/trunk)
-
tags/1.0.5/content-api.php (modified) (3 diffs)
-
tags/1.0.5/readme.txt (modified) (2 diffs)
-
trunk/content-api.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
content-api/tags/1.0.5/content-api.php
r3288715 r3289306 5 5 * Plugin URI: https://www.polyplugins.com/contact/ 6 6 * Description: Adds various endpoints to create content 7 * Version: 1.0. 47 * Version: 1.0.5 8 8 * Requires at least: 6.5 9 9 * Requires PHP: 7.4 … … 481 481 $product_id = isset($fields['product_id']) ? absint($fields['product_id']) : 0; 482 482 $name = isset($fields['name']) ? sanitize_text_field($fields['name']) : ''; 483 $status = isset($fields['status']) ? sanitize_text_field($fields['status']) : ''; 483 484 $slug = isset($fields['slug']) ? sanitize_title($fields['slug']) : ''; 484 485 $description = isset($fields['description']) ? wp_kses_post($fields['description']) : ''; … … 550 551 if ($name) { 551 552 $product->set_name($name); 553 } 554 555 if ($status) { 556 $product->set_status($status); 552 557 } 553 558 -
content-api/tags/1.0.5/readme.txt
r3288715 r3289306 3 3 Tags: content api, rest api, content, creative, api 4 4 Tested up to: 6.8 5 Stable tag: 1.0. 45 Stable tag: 1.0.5 6 6 Requires PHP: 7.4 7 7 License: GPLv3 … … 85 85 == Changelog == 86 86 87 = 1.0.5 = 88 * Added: status attribute to [Update Product](https://www.polyplugins.com/docs/content-api/api/update-product/) endpoint 89 87 90 = 1.0.4 = 88 91 * Added: [Create Product](https://www.polyplugins.com/docs/content-api/api/create-product/) endpoint -
content-api/trunk/content-api.php
r3288715 r3289306 5 5 * Plugin URI: https://www.polyplugins.com/contact/ 6 6 * Description: Adds various endpoints to create content 7 * Version: 1.0. 47 * Version: 1.0.5 8 8 * Requires at least: 6.5 9 9 * Requires PHP: 7.4 … … 481 481 $product_id = isset($fields['product_id']) ? absint($fields['product_id']) : 0; 482 482 $name = isset($fields['name']) ? sanitize_text_field($fields['name']) : ''; 483 $status = isset($fields['status']) ? sanitize_text_field($fields['status']) : ''; 483 484 $slug = isset($fields['slug']) ? sanitize_title($fields['slug']) : ''; 484 485 $description = isset($fields['description']) ? wp_kses_post($fields['description']) : ''; … … 550 551 if ($name) { 551 552 $product->set_name($name); 553 } 554 555 if ($status) { 556 $product->set_status($status); 552 557 } 553 558 -
content-api/trunk/readme.txt
r3288715 r3289306 3 3 Tags: content api, rest api, content, creative, api 4 4 Tested up to: 6.8 5 Stable tag: 1.0. 45 Stable tag: 1.0.5 6 6 Requires PHP: 7.4 7 7 License: GPLv3 … … 85 85 == Changelog == 86 86 87 = 1.0.5 = 88 * Added: status attribute to [Update Product](https://www.polyplugins.com/docs/content-api/api/update-product/) endpoint 89 87 90 = 1.0.4 = 88 91 * Added: [Create Product](https://www.polyplugins.com/docs/content-api/api/create-product/) endpoint
Note: See TracChangeset
for help on using the changeset viewer.