Changeset 3433505
- Timestamp:
- 01/06/2026 11:24:19 AM (3 months ago)
- Location:
- kitgenix-pdf-invoicing-for-woocommerce/trunk
- Files:
-
- 1 deleted
- 10 edited
-
composer.json (modified) (1 diff)
-
composer.lock (modified) (2 diffs)
-
kitgenix-pdf-invoicing-for-woocommerce.php (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
-
src/Modules/Settings/SettingsModule.php (modified) (4 diffs)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/bin (deleted)
-
vendor/composer/autoload_real.php (modified) (2 diffs)
-
vendor/composer/autoload_static.php (modified) (4 diffs)
-
vendor/composer/installed.php (modified) (2 diffs)
-
vendor/composer/platform_check.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kitgenix-pdf-invoicing-for-woocommerce/trunk/composer.json
r3433445 r3433505 1 1 { 2 2 "name": "kitgenix/pdf-invoicing-for-woocommerce", 3 "version": "1.0. 2",3 "version": "1.0.3", 4 4 "description": "Simple, modular PDF invoicing for WooCommerce.", 5 5 "type": "wordpress-plugin", -
kitgenix-pdf-invoicing-for-woocommerce/trunk/composer.lock
r3433445 r3433505 5 5 "This file is @generated automatically" 6 6 ], 7 "content-hash": " 523f8177ed1a34ae1b900a74b891d98b",7 "content-hash": "f4a01eefb86a058d4afe022f2b2bbdd5", 8 8 "packages": [ 9 9 { … … 453 453 }, 454 454 "platform-dev": {}, 455 "plugin-api-version": "2. 9.0"455 "plugin-api-version": "2.6.0" 456 456 } -
kitgenix-pdf-invoicing-for-woocommerce/trunk/kitgenix-pdf-invoicing-for-woocommerce.php
r3433445 r3433505 4 4 * Plugin URI: https://wordpress.org/plugins/kitgenix-pdf-invoicing-for-woocommerce/ 5 5 * Description: Generate clean, downloadable PDF invoices for WooCommerce orders with a modular, future-proof foundation. 6 * Version: 1.0. 26 * Version: 1.0.3 7 7 * Requires at least: 5.0 8 8 * Tested up to: 6.9 … … 32 32 } 33 33 if ( ! defined( 'KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION' ) ) { 34 define( 'KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION', '1.0. 2' );34 define( 'KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION', '1.0.3' ); 35 35 } 36 36 … … 201 201 } 202 202 203 $ver = defined( 'KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION' ) ? (string) KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION : '1.0. 2';203 $ver = defined( 'KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION' ) ? (string) KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION : '1.0.3'; 204 204 wp_enqueue_style( 205 205 'kitgenix-hub', -
kitgenix-pdf-invoicing-for-woocommerce/trunk/readme.txt
r3433445 r3433505 6 6 Tested up to: 6.9 7 7 Requires PHP: 8.0 8 Stable tag: 1.0. 28 Stable tag: 1.0.3 9 9 License: GPLv3 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 242 242 == Changelog == 243 243 244 = 1.0.3 (06 January 2026) = 245 * Update: Updated Composer dependencies to the latest compatible versions. 246 244 247 = 1.0.2 (06 January 2025) = 245 * Fix ed a WooCommerce compatibility issue that could trigger a fatal error during PDF generation (receipt/invoice templates) when `wc_get_order_item_totals()` is not available.246 * Totals now use the order API (`WC_Order::get_order_item_totals()`) with safe fallbacks to prevent admin order saves and transactional emails from failing.248 * Fix: Fixed a WooCommerce compatibility issue that could trigger a fatal error during PDF generation (receipt/invoice templates) when `wc_get_order_item_totals()` is not available. 249 * Fix: Totals now use the order API (`WC_Order::get_order_item_totals()`) with safe fallbacks to prevent admin order saves and transactional emails from failing. 247 250 248 251 = 1.0.1 (01 January 2025) = 249 * Added a shared top-level “Kitgenix” admin menu (hub) and moved PDF Invoicing settings under it.250 * Redesigned the settings UI with a new header and tabbed navigation (Settings, Brand & Styling, Email Attachments, Preview, Support).251 * Improve d admin styling (including dark-mode friendly variables) and updated Kitgenix brand assets used in the admin.252 * Improve d settings behaviour: initialise the WordPress color picker only when relevant tabs are visible.253 * Improve d logo upload UI (cleaner preview markup + consistent show/hide behaviour for the remove button).254 * Added privacy-safe PDF generation counters (totals + by document type) and display them in the Support tab.255 * Hardened admin asset loading to be scoped to the plugin settings page (hook suffix tracking with safe fallbacks).252 * New: Added a shared top-level “Kitgenix” admin menu (hub) and moved PDF Invoicing settings under it. 253 * Improvement: Redesigned the settings UI with a new header and tabbed navigation (Settings, Brand & Styling, Email Attachments, Preview, Support). 254 * Improvement: Improved admin styling (including dark-mode friendly variables) and updated Kitgenix brand assets used in the admin. 255 * Improvement: Improved settings behaviour: initialise the WordPress color picker only when relevant tabs are visible. 256 * Improvement: Improved logo upload UI (cleaner preview markup + consistent show/hide behaviour for the remove button). 257 * New: Added privacy-safe PDF generation counters (totals + by document type) and display them in the Support tab. 258 * Improvement: Hardened admin asset loading to be scoped to the plugin settings page (hook suffix tracking with safe fallbacks). 256 259 257 260 = 1.0.0 (19 December 2025) = … … 268 271 == Upgrade Notice == 269 272 270 = 1.0. 2=273 = 1.0.3 = 271 274 Maintenance and compatibility update. Recommended for all stores. 272 275 -
kitgenix-pdf-invoicing-for-woocommerce/trunk/src/Modules/Settings/SettingsModule.php
r3433445 r3433505 185 185 $base_url . 'assets/js/admin-logo-media.js', 186 186 [ 'media-editor', 'media-upload' ], 187 defined( 'KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION' ) ? KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION : '1.0. 2',187 defined( 'KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION' ) ? KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION : '1.0.3', 188 188 true 189 189 ); … … 196 196 $base_url . 'assets/css/admin-settings.css', 197 197 [], 198 defined( 'KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION' ) ? KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION : '1.0. 2'198 defined( 'KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION' ) ? KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION : '1.0.3' 199 199 ); 200 200 … … 203 203 $base_url . 'assets/js/admin-settings.js', 204 204 [ 'wp-color-picker', 'jquery' ], 205 defined( 'KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION' ) ? KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION : '1.0. 2',205 defined( 'KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION' ) ? KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION : '1.0.3', 206 206 true 207 207 ); … … 835 835 836 836 public function render_settings_page(): void { 837 $ver = defined( 'KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION' ) ? (string) KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION : '1.0. 2';837 $ver = defined( 'KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION' ) ? (string) KITGENIX_PDF_INVOICING_FOR_WOOCOMMERCE_VERSION : '1.0.3'; 838 838 ?> 839 839 <div class="wrap kitgenix-pdf-invoicing-for-woocommerce-pdf-settings"> -
kitgenix-pdf-invoicing-for-woocommerce/trunk/vendor/autoload.php
r3430250 r3433505 20 20 require_once __DIR__ . '/composer/autoload_real.php'; 21 21 22 return ComposerAutoloaderInit 2485963d490d6ad443df1b8c49ee5ab6::getLoader();22 return ComposerAutoloaderInitf4a01eefb86a058d4afe022f2b2bbdd5::getLoader(); -
kitgenix-pdf-invoicing-for-woocommerce/trunk/vendor/composer/autoload_real.php
r3433445 r3433505 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 2485963d490d6ad443df1b8c49ee5ab65 class ComposerAutoloaderInitf4a01eefb86a058d4afe022f2b2bbdd5 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 2485963d490d6ad443df1b8c49ee5ab6', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitf4a01eefb86a058d4afe022f2b2bbdd5', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 2485963d490d6ad443df1b8c49ee5ab6', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitf4a01eefb86a058d4afe022f2b2bbdd5', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit 2485963d490d6ad443df1b8c49ee5ab6::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitf4a01eefb86a058d4afe022f2b2bbdd5::getInitializer($loader)); 33 33 34 34 $loader->register(true); 35 35 36 $filesToLoad = \Composer\Autoload\ComposerStaticInit 2485963d490d6ad443df1b8c49ee5ab6::$files;36 $filesToLoad = \Composer\Autoload\ComposerStaticInitf4a01eefb86a058d4afe022f2b2bbdd5::$files; 37 37 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 38 38 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
kitgenix-pdf-invoicing-for-woocommerce/trunk/vendor/composer/autoload_static.php
r3433445 r3433505 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 2485963d490d6ad443df1b8c49ee5ab67 class ComposerStaticInitf4a01eefb86a058d4afe022f2b2bbdd5 8 8 { 9 9 public static $files = array ( … … 91 91 92 92 public static $prefixLengthsPsr4 = array ( 93 'S' => 93 'S' => 94 94 array ( 95 95 'Svg\\' => 4, 96 96 'Sabberworm\\CSS\\' => 15, 97 97 ), 98 'M' => 98 'M' => 99 99 array ( 100 100 'Masterminds\\' => 12, 101 101 ), 102 'K' => 102 'K' => 103 103 array ( 104 104 'Kitgenix\\PDF_Invoicing\\' => 23, 105 105 ), 106 'F' => 106 'F' => 107 107 array ( 108 108 'FontLib\\' => 8, 109 109 ), 110 'D' => 110 'D' => 111 111 array ( 112 112 'Dompdf\\' => 7, … … 115 115 116 116 public static $prefixDirsPsr4 = array ( 117 'Svg\\' => 117 'Svg\\' => 118 118 array ( 119 119 0 => __DIR__ . '/..' . '/dompdf/php-svg-lib/src/Svg', 120 120 ), 121 'Sabberworm\\CSS\\' => 121 'Sabberworm\\CSS\\' => 122 122 array ( 123 123 0 => __DIR__ . '/..' . '/sabberworm/php-css-parser/src', 124 124 ), 125 'Masterminds\\' => 125 'Masterminds\\' => 126 126 array ( 127 127 0 => __DIR__ . '/..' . '/masterminds/html5/src', 128 128 ), 129 'Kitgenix\\PDF_Invoicing\\' => 129 'Kitgenix\\PDF_Invoicing\\' => 130 130 array ( 131 131 0 => __DIR__ . '/../..' . '/src', 132 132 ), 133 'FontLib\\' => 133 'FontLib\\' => 134 134 array ( 135 135 0 => __DIR__ . '/..' . '/dompdf/php-font-lib/src/FontLib', 136 136 ), 137 'Dompdf\\' => 137 'Dompdf\\' => 138 138 array ( 139 139 0 => __DIR__ . '/..' . '/dompdf/dompdf/src', … … 232 232 { 233 233 return \Closure::bind(function () use ($loader) { 234 $loader->prefixLengthsPsr4 = ComposerStaticInit 2485963d490d6ad443df1b8c49ee5ab6::$prefixLengthsPsr4;235 $loader->prefixDirsPsr4 = ComposerStaticInit 2485963d490d6ad443df1b8c49ee5ab6::$prefixDirsPsr4;236 $loader->classMap = ComposerStaticInit 2485963d490d6ad443df1b8c49ee5ab6::$classMap;234 $loader->prefixLengthsPsr4 = ComposerStaticInitf4a01eefb86a058d4afe022f2b2bbdd5::$prefixLengthsPsr4; 235 $loader->prefixDirsPsr4 = ComposerStaticInitf4a01eefb86a058d4afe022f2b2bbdd5::$prefixDirsPsr4; 236 $loader->classMap = ComposerStaticInitf4a01eefb86a058d4afe022f2b2bbdd5::$classMap; 237 237 238 238 }, null, ClassLoader::class); -
kitgenix-pdf-invoicing-for-woocommerce/trunk/vendor/composer/installed.php
r3433445 r3433505 2 2 'root' => array( 3 3 'name' => 'kitgenix/pdf-invoicing-for-woocommerce', 4 'pretty_version' => '1.0. 2',5 'version' => '1.0. 2.0',4 'pretty_version' => '1.0.3', 5 'version' => '1.0.3.0', 6 6 'reference' => null, 7 7 'type' => 'wordpress-plugin', … … 39 39 ), 40 40 'kitgenix/pdf-invoicing-for-woocommerce' => array( 41 'pretty_version' => '1.0. 2',42 'version' => '1.0. 2.0',41 'pretty_version' => '1.0.3', 42 'version' => '1.0.3.0', 43 43 'reference' => null, 44 44 'type' => 'wordpress-plugin', -
kitgenix-pdf-invoicing-for-woocommerce/trunk/vendor/composer/platform_check.php
r3433445 r3433505 20 20 } 21 21 } 22 throw new \RuntimeException( 23 'Composer detected issues in your platform: ' . implode(' ', $issues) 22 trigger_error( 23 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 E_USER_ERROR 24 25 ); 25 26 }
Note: See TracChangeset
for help on using the changeset viewer.