Changeset 2880744
- Timestamp:
- 03/15/2023 07:37:30 PM (3 years ago)
- Location:
- faire-for-woocommerce
- Files:
-
- 5 edited
- 1 copied
-
tags/1.3.7 (copied) (copied from faire-for-woocommerce/tags/1.3.6)
-
tags/1.3.7/faire-for-woocommerce.php (modified) (2 diffs)
-
tags/1.3.7/readme.txt (modified) (2 diffs)
-
tags/1.3.7/src/api/client/class-product-client.php (modified) (1 diff)
-
tags/1.3.7/src/sync/class-sync-product-unlinking.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
faire-for-woocommerce/tags/1.3.7/faire-for-woocommerce.php
r2864583 r2880744 5 5 * Author: Faire 6 6 * Author URI: https://faire.com/ 7 * Version: 1.3. 67 * Version: 1.3.7 8 8 * 9 9 * This program is free software: you can redistribute it and/or modify … … 29 29 } 30 30 31 const VERSION = '1.3. 6';31 const VERSION = '1.3.7'; 32 32 33 33 if ( ! defined( 'FAIRE_WC_PLUGIN_FILE' ) ) { -
faire-for-woocommerce/tags/1.3.7/readme.txt
r2864583 r2880744 4 4 Requires at least: 4.7 5 5 Tested up to: 6.0 6 Stable tag: 1.3. 66 Stable tag: 1.3.7 7 7 Requires PHP: 7.4 8 8 WC requires at least: 6.0 … … 74 74 == Changelog == 75 75 76 = 1.3.7 = 77 * Fix product unlinking bug on variant ids 78 76 79 = 1.3.6 = 77 80 * Added product unlinking -
faire-for-woocommerce/tags/1.3.7/src/api/client/class-product-client.php
r2838583 r2880744 70 70 } 71 71 if ( $product_info->variants ) { 72 // Remove id if set on POST 73 foreach( $product_info->variants as $k => $variant ) { 74 if ( isset( $variant['id'] ) ) { 75 unset($product_info->variants[$k]['id']); 76 } 77 } 72 78 $data['variants'] = $product_info->variants; 73 79 } -
faire-for-woocommerce/tags/1.3.7/src/sync/class-sync-product-unlinking.php
r2864583 r2880744 196 196 $deleted = delete_post_meta( $id, $this->meta_faire_product_id ); 197 197 198 // Delete faux variant id if set. 199 delete_post_meta( $id, $this->meta_faire_variant_id ); 200 198 201 // Delete product sync history, linking errors 199 202 $deleted_sync_history = delete_post_meta( $id, '_faire_product_sync_result' ); -
faire-for-woocommerce/trunk/readme.txt
r2864583 r2880744 4 4 Requires at least: 4.7 5 5 Tested up to: 6.0 6 Stable tag: 1.3. 66 Stable tag: 1.3.7 7 7 Requires PHP: 7.4 8 8 WC requires at least: 6.0
Note: See TracChangeset
for help on using the changeset viewer.