Changeset 3465344
- Timestamp:
- 02/19/2026 07:38:22 PM (6 weeks ago)
- Location:
- premmerce-woocommerce-wholesale-pricing
- Files:
-
- 12 edited
- 1 copied
-
tags/1.1.12 (copied) (copied from premmerce-woocommerce-wholesale-pricing/trunk)
-
tags/1.1.12/premmerce-price-types.php (modified) (1 diff)
-
tags/1.1.12/readme.txt (modified) (2 diffs)
-
tags/1.1.12/src/Admin/Admin.php (modified) (1 diff)
-
tags/1.1.12/src/Admin/PriceTypesTable.php (modified) (1 diff)
-
tags/1.1.12/vendor/composer/installed.php (modified) (2 diffs)
-
tags/1.1.12/views/admin/tabs/list.php (modified) (2 diffs)
-
trunk/premmerce-price-types.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/Admin/Admin.php (modified) (1 diff)
-
trunk/src/Admin/PriceTypesTable.php (modified) (1 diff)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/views/admin/tabs/list.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
premmerce-woocommerce-wholesale-pricing/tags/1.1.12/premmerce-price-types.php
r3465244 r3465344 9 9 * Plugin URI: https://premmerce.com 10 10 * Description: Premmerce Wholesale Pricing for WooCommerce is a plugin that allows you to add individual wholesale prices or other price types for WooCommerce products to any customers roles. 11 * Version: 1.1.1 111 * Version: 1.1.12 12 12 * Author: Premmerce 13 13 * Author URI: https://profiles.wordpress.org/premmerce -
premmerce-woocommerce-wholesale-pricing/tags/1.1.12/readme.txt
r3465244 r3465344 4 4 Requires at least: 4.8 5 5 Tested up to: 6.9 6 Stable tag: 1.1.1 16 Stable tag: 1.1.12 7 7 Requires PHP: 5.6 8 8 License: GPLv2 or later … … 60 60 61 61 == Changelog == 62 63 = 1.1.12 (19th Feb 2026) = 64 65 * Security Fix: Missing authorization and CSRF on bulk delete action (CVE-2025-64285) 66 * Security Fix: Escape role output in price types table 62 67 63 68 = 1.1.11 (19th Feb 2026) = -
premmerce-woocommerce-wholesale-pricing/tags/1.1.12/src/Admin/Admin.php
r3465244 r3465344 206 206 } else { 207 207 $action = ''; 208 } 209 210 if ($action === '') { 211 return; 212 } 213 214 if (! isset($data['_wpnonce']) || ! wp_verify_nonce(wp_unslash($data['_wpnonce']), 'bulk-price-types')) { 215 wp_die(__('Security check failed.', 'premmerce-price-types'), 403); 216 } 217 218 if (! current_user_can('manage_woocommerce')) { 219 wp_die(__('You do not have permission to perform this action.', 'premmerce-price-types'), 403); 208 220 } 209 221 -
premmerce-woocommerce-wholesale-pricing/tags/1.1.12/src/Admin/PriceTypesTable.php
r3465244 r3465344 80 80 protected function column_roles($item) 81 81 { 82 return implode(', ', $item['roles']);82 return esc_html(implode(', ', $item['roles'])); 83 83 } 84 84 -
premmerce-woocommerce-wholesale-pricing/tags/1.1.12/vendor/composer/installed.php
r3465244 r3465344 2 2 'root' => array( 3 3 'name' => 'premmerce/premmerce-woocommerce-wholesale-pricing', 4 'pretty_version' => '1.1.1 1',5 'version' => '1.1.1 1.0',6 'reference' => ' 94699436461f737ea85ca720b2970d0258d0f709',4 'pretty_version' => '1.1.12', 5 'version' => '1.1.12.0', 6 'reference' => 'b9afc716161f2d89c3f2bd98ecb8747983db2d42', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 'premmerce/premmerce-woocommerce-wholesale-pricing' => array( 14 'pretty_version' => '1.1.1 1',15 'version' => '1.1.1 1.0',16 'reference' => ' 94699436461f737ea85ca720b2970d0258d0f709',14 'pretty_version' => '1.1.12', 15 'version' => '1.1.12.0', 16 'reference' => 'b9afc716161f2d89c3f2bd98ecb8747983db2d42', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
premmerce-woocommerce-wholesale-pricing/tags/1.1.12/views/admin/tabs/list.php
r1928116 r3465344 25 25 <select data-select="roles" name="roles[]" multiple> 26 26 <?php foreach ($roles as $key => $name): ?> 27 <option value="<?php echo $key; ?>"><?php echo $name; ?></option>27 <option value="<?php echo esc_attr($key); ?>"><?php echo esc_html($name); ?></option> 28 28 <?php endforeach; ?> 29 29 </select> … … 40 40 <div class="col-wrap"> 41 41 <form action="" method="POST"> 42 <?php wp_nonce_field( 'bulk-price-types' ); ?> 42 43 <?php $table->display(); ?> 43 44 </form> -
premmerce-woocommerce-wholesale-pricing/trunk/premmerce-price-types.php
r3465244 r3465344 9 9 * Plugin URI: https://premmerce.com 10 10 * Description: Premmerce Wholesale Pricing for WooCommerce is a plugin that allows you to add individual wholesale prices or other price types for WooCommerce products to any customers roles. 11 * Version: 1.1.1 111 * Version: 1.1.12 12 12 * Author: Premmerce 13 13 * Author URI: https://profiles.wordpress.org/premmerce -
premmerce-woocommerce-wholesale-pricing/trunk/readme.txt
r3465244 r3465344 4 4 Requires at least: 4.8 5 5 Tested up to: 6.9 6 Stable tag: 1.1.1 16 Stable tag: 1.1.12 7 7 Requires PHP: 5.6 8 8 License: GPLv2 or later … … 60 60 61 61 == Changelog == 62 63 = 1.1.12 (19th Feb 2026) = 64 65 * Security Fix: Missing authorization and CSRF on bulk delete action (CVE-2025-64285) 66 * Security Fix: Escape role output in price types table 62 67 63 68 = 1.1.11 (19th Feb 2026) = -
premmerce-woocommerce-wholesale-pricing/trunk/src/Admin/Admin.php
r3465244 r3465344 206 206 } else { 207 207 $action = ''; 208 } 209 210 if ($action === '') { 211 return; 212 } 213 214 if (! isset($data['_wpnonce']) || ! wp_verify_nonce(wp_unslash($data['_wpnonce']), 'bulk-price-types')) { 215 wp_die(__('Security check failed.', 'premmerce-price-types'), 403); 216 } 217 218 if (! current_user_can('manage_woocommerce')) { 219 wp_die(__('You do not have permission to perform this action.', 'premmerce-price-types'), 403); 208 220 } 209 221 -
premmerce-woocommerce-wholesale-pricing/trunk/src/Admin/PriceTypesTable.php
r3465244 r3465344 80 80 protected function column_roles($item) 81 81 { 82 return implode(', ', $item['roles']);82 return esc_html(implode(', ', $item['roles'])); 83 83 } 84 84 -
premmerce-woocommerce-wholesale-pricing/trunk/vendor/composer/installed.php
r3465244 r3465344 2 2 'root' => array( 3 3 'name' => 'premmerce/premmerce-woocommerce-wholesale-pricing', 4 'pretty_version' => '1.1.1 1',5 'version' => '1.1.1 1.0',6 'reference' => ' 94699436461f737ea85ca720b2970d0258d0f709',4 'pretty_version' => '1.1.12', 5 'version' => '1.1.12.0', 6 'reference' => 'b9afc716161f2d89c3f2bd98ecb8747983db2d42', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 'premmerce/premmerce-woocommerce-wholesale-pricing' => array( 14 'pretty_version' => '1.1.1 1',15 'version' => '1.1.1 1.0',16 'reference' => ' 94699436461f737ea85ca720b2970d0258d0f709',14 'pretty_version' => '1.1.12', 15 'version' => '1.1.12.0', 16 'reference' => 'b9afc716161f2d89c3f2bd98ecb8747983db2d42', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
premmerce-woocommerce-wholesale-pricing/trunk/views/admin/tabs/list.php
r1928116 r3465344 25 25 <select data-select="roles" name="roles[]" multiple> 26 26 <?php foreach ($roles as $key => $name): ?> 27 <option value="<?php echo $key; ?>"><?php echo $name; ?></option>27 <option value="<?php echo esc_attr($key); ?>"><?php echo esc_html($name); ?></option> 28 28 <?php endforeach; ?> 29 29 </select> … … 40 40 <div class="col-wrap"> 41 41 <form action="" method="POST"> 42 <?php wp_nonce_field( 'bulk-price-types' ); ?> 42 43 <?php $table->display(); ?> 43 44 </form>
Note: See TracChangeset
for help on using the changeset viewer.