Changeset 3380696
- Timestamp:
- 10/19/2025 06:45:04 AM (5 months ago)
- Location:
- turbo-shipping-rules-for-woocommerce
- Files:
-
- 21 added
- 3 edited
-
tags/1.0.1 (added)
-
tags/1.0.1/includes (added)
-
tags/1.0.1/includes/admin-menu.php (added)
-
tags/1.0.1/includes/admin-shipping-zones.php (added)
-
tags/1.0.1/includes/class-tsrfw-states-table.php (added)
-
tags/1.0.1/includes/register-post-type.php (added)
-
tags/1.0.1/includes/state-add-form.php (added)
-
tags/1.0.1/includes/state-bulk-upload.php (added)
-
tags/1.0.1/includes/state-edit-form.php (added)
-
tags/1.0.1/includes/state-list.php (added)
-
tags/1.0.1/includes/weight-based-shipping.php (added)
-
tags/1.0.1/js (added)
-
tags/1.0.1/js/custom-shipping-zones.js (added)
-
tags/1.0.1/js/tsrfw-admin.js (added)
-
tags/1.0.1/license.txt (added)
-
tags/1.0.1/readme.txt (added)
-
tags/1.0.1/turbo-shipping-rules-for-woocommerce.php (added)
-
tags/1.0.1/wppulse (added)
-
tags/1.0.1/wppulse/wppulse-plugin-analytics-engine-sdk.php (added)
-
trunk/includes/state-list.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/turbo-shipping-rules-for-woocommerce.php (modified) (2 diffs)
-
trunk/wppulse (added)
-
trunk/wppulse/wppulse-plugin-analytics-engine-sdk.php (added)
Legend:
- Unmodified
- Added
- Removed
-
turbo-shipping-rules-for-woocommerce/trunk/includes/state-list.php
r3378848 r3380696 19 19 20 20 //Added: Nonce verify for bulk actions 21 if ( ! isset($_POST['_wpnonce']) || ! wp_verify_nonce( sanitize_key($_POST['_wpnonce']), 'tsrfw_bulk_action' ) ) { 21 if ( empty($_POST['_wpnonce']) || 22 ! wp_verify_nonce( sanitize_key($_POST['_wpnonce']), 'bulk-tsrfw_states' ) ) { 22 23 wp_die( esc_html__('Security check failed.', 'turbo-shipping-rules-for-woocommerce') ); 23 24 } -
turbo-shipping-rules-for-woocommerce/trunk/readme.txt
r3379375 r3380696 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.2 7 Stable tag: 1.0. 07 Stable tag: 1.0.1 8 8 License: GPL2+ 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 81 81 == Changelog == 82 82 83 = 1.0.1 = 84 * Fixed: Security check error when performing bulk actions (Move to Trash, Delete Permanently, Restore) in the States list table. 85 * Improved: Nonce verification consistency for better security and smoother admin experience. 86 83 87 = 1.0.0 = 84 88 * Initial release -
turbo-shipping-rules-for-woocommerce/trunk/turbo-shipping-rules-for-woocommerce.php
r3378859 r3380696 4 4 * Plugin URI: https://wp-turbo.com/turbo-shipping-rules-for-woocommerce/ 5 5 * Description: Easily manage WooCommerce shipping with custom states (inside city, outside city, intercity) and advanced weight-based shipping methods filtered by product categories. Fast, simple, and powerful shipping manager for WooCommerce. 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Requires Plugins: woocommerce 8 8 * Author: Turbo Addons … … 31 31 }); 32 32 33 // ✅ Include SDK 34 require_once __DIR__ . '/wppulse/wppulse-plugin-analytics-engine-sdk.php'; 35 36 // ✅ Fetch plugin data automatically 37 $plugin_data = get_file_data( __FILE__, [ 38 'Name' => 'Plugin Name', 39 'Version' => 'Version', 40 'TextDomain' => 'Text Domain', 41 ] ); 42 43 $plugin_slug = dirname( plugin_basename( __FILE__ ) ); 44 45 // ✅ Initialize SDK if available 46 if ( class_exists( 'WPPulse_SDK' ) ) { 47 WPPulse_SDK::init( __FILE__, [ 48 'name' => $plugin_data['Name'], 49 'slug' => $plugin_slug, 50 'version' => $plugin_data['Version'], 51 'endpoint' => 'https://wp-turbo.com/wp-json/wppulse/v1/collect', 52 ] ); 53 } 54 33 55 if (!class_exists('TSRFW_Shipping_Rules_For_Woo')) { 34 56 final class TSRFW_Shipping_Rules_For_Woo { 35 57 private static $instance = null; 36 const TSRFW_VERSION = '1.0. 0';58 const TSRFW_VERSION = '1.0.1'; 37 59 public static function instance() { 38 60 if (self::$instance === null) {
Note: See TracChangeset
for help on using the changeset viewer.