Changeset 3307520
- Timestamp:
- 06/06/2025 12:26:28 PM (10 months ago)
- Location:
- emails-for-woocommerce/trunk
- Files:
-
- 4 edited
-
readme.txt (modified) (2 diffs)
-
src/Includes/ShortCodes/DomShortCode.php (modified) (1 diff)
-
src/WooEmailPreview/WooEmailPreview.php (modified) (1 diff)
-
virfice.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
emails-for-woocommerce/trunk/readme.txt
r3291381 r3307520 6 6 Requires at least: WordPress 5.5 7 7 Tested up to: 6.8 8 Stable tag: 1.1. 48 Stable tag: 1.1.5 9 9 Requires PHP: 7.3 10 10 License: GPLv2 or later … … 103 103 104 104 == Changelog == 105 = 1.1.5 = 106 * Fix: Special character rendering issue in the Order Address element 107 * Fix: All known minor issues resolved 108 105 109 = 1.1.4 = 106 110 * New: Tax amount display in the WooCommerce order table. -
emails-for-woocommerce/trunk/src/Includes/ShortCodes/DomShortCode.php
r3291378 r3307520 186 186 187 187 $value = str_replace(['<bdi>', '</bdi>'], '', $value); 188 libxml_use_internal_errors(true);189 188 // Parse $value as HTML, wrapping it to ensure it's valid HTML 190 189 $doc = new \DOMDocument(); 191 $doc->loadHTML('<div>' . $value . '</div>', LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD); // Wrap in <div> to avoid HTML parsing issues 190 libxml_use_internal_errors(true); 191 $doc->loadHTML('<?xml encoding="utf-8" ?><div>' . $value . '</div>', LIBXML_HTML_NOIMPLIED | 192 LIBXML_HTML_NODEFDTD); // Wrap in <div> to avoid HTML parsing issues 192 193 193 194 // Import each child node from $value into the main document -
emails-for-woocommerce/trunk/src/WooEmailPreview/WooEmailPreview.php
r3249220 r3307520 253 253 $doc = new DOMDocument(); 254 254 // Suppress errors due to invalid HTML, if any 255 @$doc->loadHTML( $html);255 @$doc->loadHTML('<?xml encoding="utf-8" ?>' . $html, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD); 256 256 257 257 $styles = ''; -
emails-for-woocommerce/trunk/virfice.php
r3291378 r3307520 7 7 Author: Virfice 8 8 Author URI: https://virfice.com/ 9 Version: 1.1. 49 Version: 1.1.5 10 10 License: GPL v2 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 52 52 53 53 // Define plugin constants for easier reference 54 define('VIRFICE_VERISION', '1.1. 4'); // Plugin version54 define('VIRFICE_VERISION', '1.1.5'); // Plugin version 55 55 define('VIRFICE_DEBUG', false); // false in production 56 56 define('VIRFICE_APP_NAME', 'Virfice'); // Plugin name
Note: See TracChangeset
for help on using the changeset viewer.