Plugin Directory

Changeset 3305371


Ignore:
Timestamp:
06/02/2025 11:32:23 PM (8 months ago)
Author:
polyplugins
Message:

Update to version 1.0.8 from GitHub

Location:
content-api
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • content-api/tags/1.0.8/content-api.php

    r3303231 r3305371  
    55 * Plugin URI: https://www.polyplugins.com/contact/
    66 * Description: Adds various endpoints to create content
    7  * Version: 1.0.7
     7 * Version: 1.0.8
    88 * Requires at least: 6.5
    99 * Requires PHP: 7.4
     
    521521    }
    522522
    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 
    527523    if ($sku && !$product_id) {
    528524      $product_id_by_sku = wc_get_product_id_by_sku($sku);
  • content-api/tags/1.0.8/readme.txt

    r3303231 r3305371  
    33Tags: content api, rest api, content, creative, api
    44Tested up to: 6.8
    5 Stable tag: 1.0.7
     5Stable tag: 1.0.8
    66Requires PHP: 7.4
    77License: GPLv3
     
    8585== Changelog ==
    8686
     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
    8790= 1.0.7 =
    8891* 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  
    55 * Plugin URI: https://www.polyplugins.com/contact/
    66 * Description: Adds various endpoints to create content
    7  * Version: 1.0.7
     7 * Version: 1.0.8
    88 * Requires at least: 6.5
    99 * Requires PHP: 7.4
     
    521521    }
    522522
    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 
    527523    if ($sku && !$product_id) {
    528524      $product_id_by_sku = wc_get_product_id_by_sku($sku);
  • content-api/trunk/readme.txt

    r3303231 r3305371  
    33Tags: content api, rest api, content, creative, api
    44Tested up to: 6.8
    5 Stable tag: 1.0.7
     5Stable tag: 1.0.8
    66Requires PHP: 7.4
    77License: GPLv3
     
    8585== Changelog ==
    8686
     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
    8790= 1.0.7 =
    8891* 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.