Changeset 2716535
- Timestamp:
- 04/30/2022 12:29:36 AM (4 years ago)
- Location:
- etsy-shop
- Files:
-
- 2 edited
- 4 copied
-
tags/3.0.2 (copied) (copied from etsy-shop/trunk)
-
tags/3.0.2/etsy-shop.php (copied) (copied from etsy-shop/trunk/etsy-shop.php) (3 diffs)
-
tags/3.0.2/js (copied) (copied from etsy-shop/trunk/js)
-
tags/3.0.2/readme.txt (copied) (copied from etsy-shop/trunk/readme.txt) (2 diffs)
-
trunk/etsy-shop.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
etsy-shop/tags/3.0.2/etsy-shop.php
r2713969 r2716535 9 9 Author: Frédéric Sheedy 10 10 Text Domain: etsy-shop 11 Version: 3.0. 111 Version: 3.0.2 12 12 */ 13 13 … … 36 36 */ 37 37 38 define( 'ETSY_SHOP_VERSION', '3.0. 1' );38 define( 'ETSY_SHOP_VERSION', '3.0.2' ); 39 39 define( 'ETSY_SHOP_CACHE_PREFIX', 'etsy_shop_cache_' ); 40 40 … … 339 339 if ( !is_wp_error( $reponse ) ) { 340 340 $data = json_decode( $reponse ); 341 if ( 1 != $data->count) {342 return new WP_Error( 'etsy-shop', __( 'Etsy Shop: Your s ectionID is invalid.', 'etsy-shop' ) );341 if ( !isset( $data->results[0]->shop_id ) ) { 342 return new WP_Error( 'etsy-shop', __( 'Etsy Shop: Your shop ID is invalid.', 'etsy-shop' ) ); 343 343 } 344 344 $shop_id = $data->results[0]->shop_id; -
etsy-shop/tags/3.0.2/readme.txt
r2713967 r2716535 5 5 Tested up to: 5.9.3 6 6 Requires at least: 5.0 7 Stable tag: 3.0. 17 Stable tag: 3.0.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 85 85 86 86 == Changelog == 87 88 = 3.0.2 = 89 * Workaround for a bug on Etsy Open API v3 to retrieve the Shop ID 90 * Update error message 87 91 88 92 = 3.0.1 = -
etsy-shop/trunk/etsy-shop.php
r2713969 r2716535 9 9 Author: Frédéric Sheedy 10 10 Text Domain: etsy-shop 11 Version: 3.0. 111 Version: 3.0.2 12 12 */ 13 13 … … 36 36 */ 37 37 38 define( 'ETSY_SHOP_VERSION', '3.0. 1' );38 define( 'ETSY_SHOP_VERSION', '3.0.2' ); 39 39 define( 'ETSY_SHOP_CACHE_PREFIX', 'etsy_shop_cache_' ); 40 40 … … 339 339 if ( !is_wp_error( $reponse ) ) { 340 340 $data = json_decode( $reponse ); 341 if ( 1 != $data->count) {342 return new WP_Error( 'etsy-shop', __( 'Etsy Shop: Your s ectionID is invalid.', 'etsy-shop' ) );341 if ( !isset( $data->results[0]->shop_id ) ) { 342 return new WP_Error( 'etsy-shop', __( 'Etsy Shop: Your shop ID is invalid.', 'etsy-shop' ) ); 343 343 } 344 344 $shop_id = $data->results[0]->shop_id; -
etsy-shop/trunk/readme.txt
r2713967 r2716535 5 5 Tested up to: 5.9.3 6 6 Requires at least: 5.0 7 Stable tag: 3.0. 17 Stable tag: 3.0.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 85 85 86 86 == Changelog == 87 88 = 3.0.2 = 89 * Workaround for a bug on Etsy Open API v3 to retrieve the Shop ID 90 * Update error message 87 91 88 92 = 3.0.1 =
Note: See TracChangeset
for help on using the changeset viewer.