Changeset 3424810
- Timestamp:
- 12/21/2025 04:40:51 PM (3 months ago)
- Location:
- product-variant-table-for-woocommerce
- Files:
-
- 51 added
- 4 edited
-
tags/1.9.1 (added)
-
tags/1.9.1/admin (added)
-
tags/1.9.1/admin/css (added)
-
tags/1.9.1/admin/css/pvtfw_backend.css (added)
-
tags/1.9.1/admin/js (added)
-
tags/1.9.1/admin/js/pvtfw_backend.js (added)
-
tags/1.9.1/inc (added)
-
tags/1.9.1/inc/admin (added)
-
tags/1.9.1/inc/admin/class_pvtfw_advance.php (added)
-
tags/1.9.1/inc/admin/class_pvtfw_bulk_cart.php (added)
-
tags/1.9.1/inc/admin/class_pvtfw_form.php (added)
-
tags/1.9.1/inc/admin/class_pvtfw_settings.php (added)
-
tags/1.9.1/inc/admin/class_pvtfw_styling.php (added)
-
tags/1.9.1/inc/class_pvtfw_common.php (added)
-
tags/1.9.1/inc/compatibility.php (added)
-
tags/1.9.1/inc/frontend (added)
-
tags/1.9.1/inc/frontend/class_pvtfw_allocation.php (added)
-
tags/1.9.1/inc/frontend/class_pvtfw_available_btn.php (added)
-
tags/1.9.1/inc/frontend/class_pvtfw_cart.php (added)
-
tags/1.9.1/inc/frontend/class_pvtfw_print_table.php (added)
-
tags/1.9.1/inc/style.php (added)
-
tags/1.9.1/inc/table-parts (added)
-
tags/1.9.1/inc/table-parts/content-tbody.php (added)
-
tags/1.9.1/inc/table-parts/content-thead.php (added)
-
tags/1.9.1/inc/wpxtension (added)
-
tags/1.9.1/inc/wpxtension/wpx-menu.php (added)
-
tags/1.9.1/inc/wpxtension/wpx-sidebar.php (added)
-
tags/1.9.1/inc/wpxtension/wpxtension-admin-rtl.css (added)
-
tags/1.9.1/inc/wpxtension/wpxtension-admin.css (added)
-
tags/1.9.1/inc/wpxtension/wpxtension-admin.min-rtl.css (added)
-
tags/1.9.1/inc/wpxtension/wpxtension-admin.min.css (added)
-
tags/1.9.1/languages (added)
-
tags/1.9.1/languages/product-variant-table-for-woocommerce.pot (added)
-
tags/1.9.1/product-variant-table-for-woocommerce.php (added)
-
tags/1.9.1/public (added)
-
tags/1.9.1/public/css (added)
-
tags/1.9.1/public/css/pvtfw_frontend.css (added)
-
tags/1.9.1/public/css/pvtfw_table_breakdown.css (added)
-
tags/1.9.1/public/font (added)
-
tags/1.9.1/public/font/font (added)
-
tags/1.9.1/public/font/font/fontello.eot (added)
-
tags/1.9.1/public/font/font/fontello.svg (added)
-
tags/1.9.1/public/font/font/fontello.ttf (added)
-
tags/1.9.1/public/font/font/fontello.woff (added)
-
tags/1.9.1/public/font/font/fontello.woff2 (added)
-
tags/1.9.1/public/font/fontello.css (added)
-
tags/1.9.1/public/js (added)
-
tags/1.9.1/public/js/pvtfw_frontend.js (added)
-
tags/1.9.1/public/js/pvtfw_subtotal_calc.js (added)
-
tags/1.9.1/readme.txt (added)
-
tags/1.9.1/uninstall.php (added)
-
trunk/inc/compatibility.php (modified) (4 diffs)
-
trunk/languages/product-variant-table-for-woocommerce.pot (modified) (2 diffs)
-
trunk/product-variant-table-for-woocommerce.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
product-variant-table-for-woocommerce/trunk/inc/compatibility.php
r3419419 r3424810 433 433 if( $args['stock_status'] === 'instock' || $args['stock_status'] === 'onbackorder' ){ 434 434 echo wp_kses_post( 435 sprintf('<button data-product-id="%s" data-url="%s" data-product="%s" data-variant="%s" data-product-name="%s" class="%s"> 436 <span class="pvtfw-btn-text">%s</span> 437 <div class="spinner-wrap"><span class="pvt-icon-spinner"></span></div> 438 </button>%s', 439 $args['product_id'], 440 $args['cart_url'], 441 $args['product_url'], 442 $args['variant_id'], 443 $args['product_name'], 435 sprintf('<button class="%1$s" data-product-id="%2$s" data-url="%3$s" data-product="%4$s" data-variant="%5$s" data-product-name="%6$s"> 436 <span class="pvtfw-btn-text">%7$s</span> 437 <span class="spinner-wrap"><span class="pvt-icon-spinner"></span></span> 438 </button>%8$s', 444 439 /** 445 440 * … … 449 444 * @since version 1.4.16 450 445 * 446 * @version 1.9.1 447 * Reordered attributes in `<button>` tags so the class attribute appears before any `data-*` attributes. 448 * 451 449 **/ 450 // %1$s - Button Class 452 451 apply_filters( 'pvtfw_add_to_cart_btn_classes', 453 452 wp_is_block_theme() ? 'wp-block-button__link wp-element-button wc-block-components-product-button__button pvtfw_variant_table_cart_btn' : 'pvtfw_variant_table_cart_btn button alt' 454 453 ), 454 // %2$s - Product ID 455 $args['product_id'], 456 // %3$s - Button Cart URL 457 $args['cart_url'], 458 // %4$s - Product URL 459 $args['product_url'], 460 // %5$s - Variaiton ID 461 $args['variant_id'], 462 // %6$s - Product Name 463 $args['product_name'], 464 // %7$s - Button Text 455 465 apply_filters( 'pvtfw_cart_btn_text', 456 466 457 /* 467 /** 458 468 * @note: If it is coming from plugin settings it will not translate. Because, dynamic text 459 469 * is not translatable. … … 461 471 * @recommendation: Contact through our support forum 462 472 * 463 * @ link:https://localise.biz/wordpress/plugin/intro#content473 * @see https://localise.biz/wordpress/plugin/intro#content 464 474 */ 465 475 $args['text'] 466 476 467 477 ), 478 // %8$s - Back Order Text after the Add to cart button 468 479 $args['stock_status'] === 'onbackorder' ? 469 480 apply_filters('pvtfw_cart_btn_after_backorder_text', … … 477 488 sprintf('<button class="%s" disabled> 478 489 <span class="pvtfw-btn-text">%s</span> 479 < div class="spinner-wrap"><span class="pvt-icon-spinner"></span></div>490 <span class="spinner-wrap"><span class="pvt-icon-spinner"></span></span> 480 491 </button>', 481 492 /** -
product-variant-table-for-woocommerce/trunk/languages/product-variant-table-for-woocommerce.pot
r3419419 r3424810 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: PVT - Product Variation Table for WooCommerce 1.9. 0\n"5 "Project-Id-Version: PVT - Product Variation Table for WooCommerce 1.9.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/product-variant-table-for-woocommerce\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-12- 14T06:38:08+00:00\n"12 "POT-Creation-Date: 2025-12-21T06:44:39+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.11.0\n" -
product-variant-table-for-woocommerce/trunk/product-variant-table-for-woocommerce.php
r3419419 r3424810 8 8 Text Domain: product-variant-table-for-woocommerce 9 9 Domain Path: /languages 10 Version: 1.9. 010 Version: 1.9.1 11 11 Requires at least: 4.7.0 12 12 Requires PHP: 5.6.20 … … 33 33 */ 34 34 35 define("PVTFW_VARIANT_TABLE_VERSION", '1.9. 0');35 define("PVTFW_VARIANT_TABLE_VERSION", '1.9.1'); 36 36 define("PVTFW_REQUIRED_PRO_VERSION", '1.9.0'); 37 37 define("PVTFW_DIR", plugin_dir_path(__FILE__) ); -
product-variant-table-for-woocommerce/trunk/readme.txt
r3419419 r3424810 6 6 Tested up to: 6.9 7 7 Requires PHP: 5.6.20 8 Stable tag: 1.9. 08 Stable tag: 1.9.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 182 182 == Changelog == 183 183 184 = 1.9.1 [21-12-2025] Sunday = 185 * Updated: Reordered attributes in `<button>` tags so the class attribute appears before any `data-*` attributes. 186 * Updated: Replaced `<div>` elements with `<span>` elements inside `<button>` tags. 187 184 188 = 1.9.0 [14-12-2025] Sunday = 185 189 * Added: WPML & Polylang Support.
Note: See TracChangeset
for help on using the changeset viewer.