*** WooCommerce PDF Invoices Changelog *** = 1.5.1 - 2023/11/22 = * This maintenance release has plugin framework updates for compatibility with PHP 8.1 onwards, plus compatibility with WordPress 6.4.1 and WooCommerce 8.2 * Tweak - Test for compatibility with WooCommerce 8.2.0 * Tweak - Test for compatibility with WordPress 6.4.1 * Tweak - Remove backward compatibility for WooCommerce versions less than 6.0 * Framework - Set parameter number of preg_match function from null to 0 for compatibility with PHP 8.1 onwards * Framework - Validate empty before call trim for option value = 1.5.0 - 2023/04/25 = * This release has compatibility with WordPress 6.2.0, WooCommerce 7.6.0 plus declared compatibility with WooCommerce HPOS. * Tweak - Test for compatibility with WordPress 6.2 * Tweak - Test for compatibility with WooCommerce 7.6.0 * Tweak - Test and declare plugin compatibility with WooCommerce HPOS Custom Tables. = 1.4.1 - 2023/04/12 = * This maintenance release fixes a small compatibility issue with PHP 8.1. Compatibility with WordPress 6.2.0 and WooCommerce 7.5.0 * Tweak - Test for compatibility with WordPress 6.2.0 * Tweak - Test for compatibility with WooCommerce 7.5.1 * Fix - getTimestamp function depreciated warning on PHP 8.1 = 1.4.0 - 2022/12/08 = * This release is for compatibility with WordPress 6.1, WooCommerce 7.1 plus upgrade PDF icon to svg and a Images in on invoices cannot load bug fix. * Tweak - Test for compatibility with WordPress 6.1.1 * Tweak - Test for compatibility with WooCommerce 7.1.1 * Performance - Change PDF Icon to svg * Tweak - Upgrade PDF Lib 1x to 2.0.0 to 2.0.1 * Fix - Images not showing in PDF Invoices = 1.3.3 - 2022/09/19 = * This maintenance release has various Style and Lib tweaks for compatibility with WooCommerce major version 6.9.0 * Tweak - WooCommerce style for compatibility with WooCommerce 6.9.2 * Tweak - Upgrade PDF Lib 1x to 2.0.0 for compatibility with WooCommerce 6.9.2 = 1.3.2 - 2022/04/04 = * This security hardening release follows a full PHPCS code audit with code refactoring and security hardening including additional escaping and sanitizing. * Security - Escape all $-variable * Security - Sanitize all $_REQUEST, $_GET, $_POST * Security - Apply wp_unslash before sanitizing = 1.3.1 - 2022/01/24 = * This is a maintenance release for compatibility with WordPress major version 5.9, Responsi 8.3.1 and WooCommerce 6.1.1 * Tweak - Test for compatibility with WordPress 5.9 * Tweak - Test for compatibility with Responsi 8.3.1 * Tweak - Test for compatibility with WooCommerce 6.1.1 = 1.3.0 - 2021/11/22 = * This maintenance release has fixes for compatibility with PHP version 8.x and WooCommerce 5.9 * Tweak - Test for compatibility with PHP 8.x * Tweak - Test for compatibility with WooCommerce 5.9 * Fix - Update some defined functions without an optional parameter when followed by a required parameter. This is deprecated as of PHP 8.0.0 = 1.2.9 - 2021/07/19 = * This maintenance release is for compatibility with WordPress major version 5.8 and WooCommerce version 5.5.1 * Tweak - Test for compatibility with WordPress 5.8 * Tweak - Test for compatibility with WooCommerce 5.5.1 * Tweak - Add Update URI to plugin header with unique name = 1.2.8 - 2021/03/17 * This maintenance release updates deprecated jQuery functions for compatibility with the latest version of jQuery in WordPress 5.7 * Tweak – Replace deprecated .change( handler ) with .on( 'change', handler ) * Tweak – Replace deprecated .change() with .trigger('change') * Tweak – Replace deprecated .focus( handler ) with .on( 'focus', handler ) * Tweak – Replace deprecated .focus() with .trigger('focus') * Tweak – Replace deprecated .click( handler ) with .on( 'click', handler ) * Tweak – Replace deprecated .click() with .trigger('click') * Tweak – Replace deprecated .select( handler ) with .on( 'select', handler ) * Tweak – Replace deprecated .select() with .trigger('select') * Tweak – Replace deprecated .blur( handler ) with .on( 'blur', handler ) * Tweak – Replace deprecated .blur() with .trigger('blur') * Tweak – Replace deprecated .resize( handler ) with .on( 'resize', handler ) * Tweak – Replace deprecated .submit( handler ) with .on( 'submit', handler ) * Tweak – Replace deprecated .scroll( handler ) with .on( 'scroll', handler ) * Tweak – Replace deprecated .mousedown( handler ) with .on( 'mousedown', handler ) * Tweak – Replace deprecated .mouseover( handler ) with .on( 'mouseover', handler ) * Tweak – Replace deprecated .mouseout( handler ) with .on( 'mouseout', handler ) * Tweak – Replace deprecated .keydown( handler ) with .on( 'keydown', handler ) * Tweak – Replace deprecated .attr('disabled', 'disabled') with .prop('disabled', true) * Tweak – Replace deprecated .removeAttr('disabled') with .prop('disabled', false) * Tweak – Replace deprecated .attr('selected', 'selected') with .prop('selected', true) * Tweak – Replace deprecated .removeAttr('selected') with .prop('selected', false) * Tweak – Replace deprecated .attr('checked', 'checked') with .prop('checked', true) * Tweak – Replace deprecated .removeAttr('checked') with .prop('checked', false) = 1.2.7 - 2021/03/10 = * This maintenance release is for compatibility with WordPress 5.7 and WooCommerce 5.1 * Tweak - Test for compatibility with WordPress 5.7 * Tweak - Test for compatibility with WooCommerce 5.1 = 1.2.6 - 2021/01/14 = * This maintenance release is for compatibility with WooCommerce major version 4.9.0. * Tweak - Test for compatibility with WooCommerce 4.9.0 = 1.2.5 - 2021/01/03 = * This is an important maintenance release that updates our scripts for compatibility with the latest version of jQuery released in WordPress 5.6 * Tweak - Update JavaScript on plugin for work compatibility with latest version of jQuery * Fix - Replace .bind( event, handler ) by .on( event, handler ) for compatibility with latest version of jQuery * Fix - Replace :eq() Selector by .eq() for compatibility with latest version of jQuery * Fix - Replace .error() by .on( “error” ) for compatibility with latest version of jQuery * Fix - Replace :first Selector by .first() for compatibility with latest version of jQuery * Fix - Replace :gt(0) Selector by .slice(1) for compatibility with latest version of jQuery * Fix - Remove jQuery.browser for compatibility with latest version of jQuery * Fix - Replace jQuery.isArray() by Array.isArray() for compatibility with latest version of jQuery * Fix - Replace jQuery.isFunction(x) by typeof x === “function” for compatibility with latest version of jQuery * Fix - Replace jQuery.isNumeric(x) by typeof x === “number” for compatibility with latest version of jQuery * Fix - Replace jQuery.now() by Date.now() for compatibility with latest version of jQuery * Fix - Replace jQuery.parseJSON() by JSON.parse() for compatibility with latest version of jQuery * Fix - Remove jQuery.support for compatibility with latest version of jQuery * Fix - Replace jQuery.trim(x) by x.trim() for compatibility with latest version of jQuery * Fix - Replace jQuery.type(x) by typeof x for compatibility with latest version of jQuery * Fix - Replace .load( handler ) by .on( “load”, handler ) for compatibility with latest version of jQuery * Fix - Replace .size() by .length for compatibility with latest version of jQuery * Fix - Replace .unbind( event ) by .off( event ) for compatibility with latest version of jQuery * Fix - Replace .unload( handler ) by .on( “unload”, handler ) for compatibility with latest version of jQuery = 1.2.4 - 2020/12/08 = * This maintenance release has tweaks and a fix for compatibility with WordPress major version 5.6, WooCommerce 4.7.1 and PHP 7.4.8 * Tweak - Test for compatibility with PHP 7.4.8 * Tweak - Test for compatibility with WooCommerce 4.7.1 * Tweak - Test for compatibility with WordPress 5.6 * Fix - Add \ before WC() inside namespace file for it to call to correct WC() of WooCommerce = 1.2.3 - 2020/08/10 = * This maintenance release is a tweak on where the PDF icon shows on the my account dashboard * Tweak - Only show PDF icon with invoices on My Account - orders page. = 1.2.2 - 2020/08/08 = * This maintenance release is for compatibility with WordPress major version 5.5 and WooCommerce 4.3.1. * Tweak - Test for compatibility with WordPress 5.5 * Tweak - Test for compatibility with WooCommerce 4.3.1 = 1.2.1 - 2020/04/02 = * This maintenance release is for compatibility with WordPress 5.4 and WooCommerce 4.0.1 plus 3 PHP code fixes * Tweak - Plugin Framework fully refactored to Composer for cleaner code and faster PHP code on admin panels * Tweak - Update plugin for compatibility with new version of plugin Framework * Tweak - Test for compatibility with WordPress 5.4 * Fix - Update global ${$this- to $GLOBALS[$this to resolve 7.0+ PHP warnings * Fix - Update global ${$option to $GLOBALS[$option to resolve 7.0+ PHP warnings * Fix - Update less PHP lib that use square brackets [] instead of curly braces {} for Array, depreciated in PHP 7.4 = 1.2.0 - 2019/12/27 = * This feature upgrade is a major refactor of the PHP code to Composer Dependency Manager, a security review and hardening, compatibility with WordPress 5.3.2, WooCommerce 3.8.1 and Responsi 7.7.0 * Feature - Plugin fully refactored to Composer for cleaner and faster PHP code * Tweak - Tested for compatibility with WordPress version 5.3.2 * Tweak - Tested for compatibility with WooCommerce version 3.8.1 * Tweak - Tested for compatibility with Responsi version 7.7.0 * Upgrade - dompdf library to version 0.8.3 * Upgrade - aws library to version 3.119.0 * Upgrade - phenx library to version 0.3.1 * Upgrade - sabberworm library to version 8.3.0 * Dev - Ensure that all inputs are sanitized * Dev - Ensure that all outputs are escaped = 1.1.8 - 2019/11/20 = * This maintenance release updates the aws sdk plus compatibility with WooCommerce 3.8.0 and WordPress 5.3.0 * Tweak - Test for compatibility with WooCommerce 3.8.0 * Tweak - Test for compatibility with WordPress 5.3.0 * Tweak - Update aws sdk to latest version 3.119.0 = 1.1.7 - 2019/09/03 = * This upgrade is for compatibility with Responsi Framework 7.6.0 * Refactor – Rewrite frontend HTML, CSS, JS and Variables Class and ID names to the new framework 7.6.0 namespaces * Refactor – Rewrite customizer HTML, CSS, JS and Variables Class and ID names to the new framework 7.6.0 namespaces * Refactor - HTML, CSS, JS and Variables Class and ID names called from the framework making plugin file sizes smaller and faster to load = 1.1.6 - 2019/07/25 = * This upgrade is for compatibility with Responsi Framework 7.5.0 * Refactor - All plugin CSS and JS from Class ID to Class name for new Responsi Class names. = 1.1.5 - 2019/06/29 = * This is a maintenance upgrade to fix a potentially fatal error conflict with sites running PHP 7.3 plus compatibility with WordPress v 5.2.2 * Fix – PHP warning continue targeting switch is equivalent to break for compatibility on PHP 7.3 = 1.1.4 - 2019/01/07 = * This maintenance update is for compatibility with WordPress 5.0.2, WooCommerce 3.5.3 and PHP 7.3. It also includes performance updates to the plugin framework. * Tweak - Test for compatibility with WordPress 5.0.2 and WordPress 4.9.9 * Tweak - Test for compatibility with WooCommerce 3.5.3 * Tweak - Create new structure for future development of Gutenberg Blocks * Framework - Performance improvement. Replace wp_remote_fopen with file_get_contents for get web fonts * Framework - Performance improvement. Define new variable `is_load_google_fonts` if admin does not require to load google fonts * Credit - Props to Derek for alerting us to the framework google fonts performance issue * Framework - Register style name for dynamic style of plugin for use with Gutenberg block * Framework - Update Modal script and style to version 4.1.1 * Framework - Update a3rev Plugin Framework to version 2.1.0 * Framework - Test and update for compatibility with PHP 7.3 = 1.1.3 - 2018/12/18 = * This maintenance update is for compatibility with WordPress 5.0.2, WooCommerce 3.5.2 and PHP 7.3.0 * Tweak - Tested for compatibility with WordPress 5.0.2 * Tweak - Tested for compatibility with WooCommerce v 3.5.2 and update tested up to version notice. * Tweak - Tested for compatibility with PHP 7.3.0 = 1.1.2 - 2018/05/26 = * This maintenance update is for compatibility with WordPress 4.9.6 and WooCommerce 3.4.0 and the new GDPR compliance requirements for users in the EU * Tweak - Tested for compatibility with WordPress 4.9.6 * Tweak - Test for compatibility with WooCommerce 3.4.0 = 1.1.1 - 2018/03/15 = * Maintenance Update. This update follows a full security review and extensive security hardening * Tweak - Sanitized all database inputs and escaped functions = 1.1.0 - 2018/02/13 = * Feature Upgrade - This upgrade features full integration with newly launched a3rev Dashboard plus compatibility with WordPress 4.9.4 and WooCommerce 3.3.1 * Framework - Update a3rev Plugin Framework to version 2.0.2 * Framework - Add Framework version for all style and script files * Framework - Update Check Now feature for compatibility with a3rev Dashboard 2.3.0 * Tweak - Test for compatibility with WordPress 4.9.4 * Tweak - Test for compatibility with WooCommerce 3.3.1 = 1.0.0 - 2018/01/07 = * First working release of the plugin