Changeset 3009379
- Timestamp:
- 12/13/2023 11:39:20 AM (2 years ago)
- Location:
- minicrm-woocommerce-sync/trunk
- Files:
-
- 4 edited
-
languages/minicrm-woocommerce-sync.pot (modified) (1 diff)
-
lib/Feed.php (modified) (2 diffs)
-
minicrm-woocommerce-sync.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
minicrm-woocommerce-sync/trunk/languages/minicrm-woocommerce-sync.pot
r2988079 r3009379 4 4 "Project-Id-Version: MiniCRM " 5 5 "WooCommerce Sync plugin " 6 "v1.5.2 6\n"6 "v1.5.27\n" 7 7 "POT-Creation-Date: 2022-05-30 " 8 8 "22:22+0200\n" -
minicrm-woocommerce-sync/trunk/lib/Feed.php
r2988079 r3009379 516 516 throw new \Exception ("Unexpected item class: '$itemClass'"); 517 517 } 518 // Apply htmlspecialchars and then safely truncate to 1024 characters 519 $encodedDescription = htmlspecialchars($productDescription, ENT_QUOTES, 'UTF-8'); 520 $safeTruncatedDescription = mb_substr($encodedDescription, 0, 1024, 'UTF-8'); 518 521 519 522 // Add XML node … … 527 530 $product->Quantity = $item->get_quantity (); 528 531 $product->SKU = $sku; 529 $product->Description = htmlspecialchars($productDescription); // ensure that special characters in the product description don't interfere with the XML structure.532 $product->Description = $safeTruncatedDescription; 530 533 $product->Unit = $localUnit; 531 534 $product->VAT = "$taxPercent%"; -
minicrm-woocommerce-sync/trunk/minicrm-woocommerce-sync.php
r2988079 r3009379 10 10 * Requires PHP: 8.0 11 11 * Text Domain: minicrm-woocommerce-sync 12 * Version: 1.5.2 612 * Version: 1.5.27 13 13 * WC requires at least: 4.0.0 14 14 * WC tested up to: 7.2 -
minicrm-woocommerce-sync/trunk/readme.txt
r2988079 r3009379 5 5 Requires at least: 4.9 6 6 Requires PHP: 8.0 7 Stable tag: 1.5.2 67 Stable tag: 1.5.27 8 8 Tested up to: 6.2 9 9 WC requires at least: 4.0.0
Note: See TracChangeset
for help on using the changeset viewer.