Changeset 3327388
- Timestamp:
- 07/14/2025 09:22:47 AM (7 months ago)
- Location:
- shipping-manager
- Files:
-
- 18 added
- 12 edited
- 1 copied
-
tags/1.1.4 (copied) (copied from shipping-manager/trunk)
-
tags/1.1.4/app/Classes/Admin.php (modified) (1 diff)
-
tags/1.1.4/app/Classes/Install.php (modified) (1 diff)
-
tags/1.1.4/app/Classes/Notice.php (added)
-
tags/1.1.4/app/Classes/Wizard.php (added)
-
tags/1.1.4/assets/admin/css/notice.css (added)
-
tags/1.1.4/assets/admin/css/wizard.css (added)
-
tags/1.1.4/assets/admin/img/wizard-logo.gif (added)
-
tags/1.1.4/inc/functions.php (modified) (1 diff)
-
tags/1.1.4/readme.txt (modified) (3 diffs)
-
tags/1.1.4/shipping-manager.php (modified) (2 diffs)
-
tags/1.1.4/views/notice (added)
-
tags/1.1.4/views/notice/setup-wizard-notice.php (added)
-
tags/1.1.4/views/settings/layout.php (modified) (1 diff)
-
tags/1.1.4/views/wizard (added)
-
tags/1.1.4/views/wizard/wizard.php (added)
-
trunk/app/Classes/Admin.php (modified) (1 diff)
-
trunk/app/Classes/Install.php (modified) (1 diff)
-
trunk/app/Classes/Notice.php (added)
-
trunk/app/Classes/Wizard.php (added)
-
trunk/assets/admin/css/notice.css (added)
-
trunk/assets/admin/css/wizard.css (added)
-
trunk/assets/admin/img/wizard-logo.gif (added)
-
trunk/inc/functions.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/shipping-manager.php (modified) (2 diffs)
-
trunk/views/notice (added)
-
trunk/views/notice/setup-wizard-notice.php (added)
-
trunk/views/settings/layout.php (modified) (1 diff)
-
trunk/views/wizard (added)
-
trunk/views/wizard/wizard.php (added)
Legend:
- Unmodified
- Added
- Removed
-
shipping-manager/tags/1.1.4/app/Classes/Admin.php
r3291937 r3327388 13 13 public function __construct() { 14 14 $this->action( 'plugins_loaded', function() { 15 new Wizard(); 16 new Notice(); 15 17 ( new Settings() )->init(); 16 18 } ); -
shipping-manager/tags/1.1.4/app/Classes/Install.php
r3310845 r3327388 17 17 $this->update_db_version(); 18 18 } 19 20 set_transient( 'tpsm_do_activation_redirect', true, 30 ); 19 21 20 22 //Update inital general settings -
shipping-manager/tags/1.1.4/inc/functions.php
r3316160 r3327388 210 210 } 211 211 } 212 213 if( ! function_exists( 'tpsm_saved_remote_data' ) ) { 214 215 /** 216 * Sends the current user's information to a remote server. 217 * 218 * This function retrieves the currently logged-in user's full name, 219 * email address, and the site URL, and sends this data to a specified 220 * remote server endpoint using a POST request. This is intended to 221 * collect user data for integration with a remote service. 222 * 223 * @return void 224 */ 225 function tpsm_saved_remote_data() { 226 $current_user = wp_get_current_user(); 227 228 // Check if a user is logged in 229 if ( ! $current_user || 0 === $current_user->ID ) { 230 return; 231 } 232 233 // Get full name (first + last or fallback to display name) 234 $full_name = trim( $current_user->first_name . ' ' . $current_user->last_name ); 235 if ( empty( $full_name ) ) { 236 $full_name = $current_user->display_name; 237 } 238 239 $email_address = $current_user->user_email; 240 $site_url = get_site_url(); 241 242 $response = wp_remote_post( 'https://habib.unaux.com//wp-json/v2/collect-email/shipping-manager', [ 243 'headers' => [ 244 'X-Auth-Token' => 'c7fc312817194d30c79da538204eaec3', 245 'Content-Type' => 'application/json', 246 ], 247 'body' => json_encode([ 248 'email_address' => $email_address, 249 'full_name' => $full_name, 250 'site_url' => $site_url, 251 ]), 252 ] ); 253 254 } 255 } -
shipping-manager/tags/1.1.4/readme.txt
r3319659 r3327388 7 7 WC tested up to: 9.8 8 8 Requires PHP: 7.0 9 Stable tag: 1.1. 39 Stable tag: 1.1.4 10 10 License: GPLv3 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 15 15 == Description == 16 16 17 ### 🚚 ** Table Rate Shipping Method **Shipping Manager for WooCommerce17 ### 🚚 Table Rate Shipping Method Shipping Manager for WooCommerce 18 18 Shipping Manager offers a complete solution to simplify your WooCommerce shipping experience. You can dynamically customize the shipping fees for weight, Cart Total, Cart Subtotal and more with **Table Rate Shipping WooCommerce**, WooCommerce **Weight-Based Shipping**, and **Shipping Class** support for WooCommerce options. It handles all your shipping requirements to deliver flexible, accurate, and cost-effective logistics. 19 19 … … 192 192 == Changelog == 193 193 194 = v1.1.4 - 2025.07.14 = 195 * [new] Setup wizard included 196 * [new] Notice added 197 * [fix] Fi issues. 198 194 199 = v1.1.3 - 2025.06.30 = 195 200 * [fix] Fix class based shipping issues. -
shipping-manager/tags/1.1.4/shipping-manager.php
r3319659 r3327388 4 4 * Plugin URI: https://themepaste.com/product/wordpress-plugins/shipping-manager-for-woocommerce 5 5 * Description: Powerful WooCommerce shipping plugin with table rate, weight-based rates, shipping class support, and advanced shipping rules. 6 * Version: 1.1. 36 * Version: 1.1.4 7 7 * Requires at least: 5.8 8 8 * Requires PHP: 7.0 … … 41 41 42 42 define( 'TPSM_PLUGIN_FILE', __FILE__ ); 43 define( 'TPSM_PLUGIN_VERSION', '1.1. 3' );43 define( 'TPSM_PLUGIN_VERSION', '1.1.4' ); 44 44 define( 'TPSM_PLUGIN_DIRNAME', dirname( TPSM_PLUGIN_FILE ) ); 45 45 define( 'TPSM_PLUGIN_BASENAME', plugin_basename( TPSM_PLUGIN_FILE ) ); -
shipping-manager/tags/1.1.4/views/settings/layout.php
r3291937 r3327388 15 15 ?> 16 16 17 <!-- For Display Notice --> 18 <div class="wrap"> 19 <h1></h1> 20 </div> 21 17 22 <div class="wrap"> 18 23 <div class="themepaste-shipping-manager-wrapper"> -
shipping-manager/trunk/app/Classes/Admin.php
r3291937 r3327388 13 13 public function __construct() { 14 14 $this->action( 'plugins_loaded', function() { 15 new Wizard(); 16 new Notice(); 15 17 ( new Settings() )->init(); 16 18 } ); -
shipping-manager/trunk/app/Classes/Install.php
r3310845 r3327388 17 17 $this->update_db_version(); 18 18 } 19 20 set_transient( 'tpsm_do_activation_redirect', true, 30 ); 19 21 20 22 //Update inital general settings -
shipping-manager/trunk/inc/functions.php
r3316160 r3327388 210 210 } 211 211 } 212 213 if( ! function_exists( 'tpsm_saved_remote_data' ) ) { 214 215 /** 216 * Sends the current user's information to a remote server. 217 * 218 * This function retrieves the currently logged-in user's full name, 219 * email address, and the site URL, and sends this data to a specified 220 * remote server endpoint using a POST request. This is intended to 221 * collect user data for integration with a remote service. 222 * 223 * @return void 224 */ 225 function tpsm_saved_remote_data() { 226 $current_user = wp_get_current_user(); 227 228 // Check if a user is logged in 229 if ( ! $current_user || 0 === $current_user->ID ) { 230 return; 231 } 232 233 // Get full name (first + last or fallback to display name) 234 $full_name = trim( $current_user->first_name . ' ' . $current_user->last_name ); 235 if ( empty( $full_name ) ) { 236 $full_name = $current_user->display_name; 237 } 238 239 $email_address = $current_user->user_email; 240 $site_url = get_site_url(); 241 242 $response = wp_remote_post( 'https://habib.unaux.com//wp-json/v2/collect-email/shipping-manager', [ 243 'headers' => [ 244 'X-Auth-Token' => 'c7fc312817194d30c79da538204eaec3', 245 'Content-Type' => 'application/json', 246 ], 247 'body' => json_encode([ 248 'email_address' => $email_address, 249 'full_name' => $full_name, 250 'site_url' => $site_url, 251 ]), 252 ] ); 253 254 } 255 } -
shipping-manager/trunk/readme.txt
r3319659 r3327388 7 7 WC tested up to: 9.8 8 8 Requires PHP: 7.0 9 Stable tag: 1.1. 39 Stable tag: 1.1.4 10 10 License: GPLv3 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 15 15 == Description == 16 16 17 ### 🚚 ** Table Rate Shipping Method **Shipping Manager for WooCommerce17 ### 🚚 Table Rate Shipping Method Shipping Manager for WooCommerce 18 18 Shipping Manager offers a complete solution to simplify your WooCommerce shipping experience. You can dynamically customize the shipping fees for weight, Cart Total, Cart Subtotal and more with **Table Rate Shipping WooCommerce**, WooCommerce **Weight-Based Shipping**, and **Shipping Class** support for WooCommerce options. It handles all your shipping requirements to deliver flexible, accurate, and cost-effective logistics. 19 19 … … 192 192 == Changelog == 193 193 194 = v1.1.4 - 2025.07.14 = 195 * [new] Setup wizard included 196 * [new] Notice added 197 * [fix] Fi issues. 198 194 199 = v1.1.3 - 2025.06.30 = 195 200 * [fix] Fix class based shipping issues. -
shipping-manager/trunk/shipping-manager.php
r3319659 r3327388 4 4 * Plugin URI: https://themepaste.com/product/wordpress-plugins/shipping-manager-for-woocommerce 5 5 * Description: Powerful WooCommerce shipping plugin with table rate, weight-based rates, shipping class support, and advanced shipping rules. 6 * Version: 1.1. 36 * Version: 1.1.4 7 7 * Requires at least: 5.8 8 8 * Requires PHP: 7.0 … … 41 41 42 42 define( 'TPSM_PLUGIN_FILE', __FILE__ ); 43 define( 'TPSM_PLUGIN_VERSION', '1.1. 3' );43 define( 'TPSM_PLUGIN_VERSION', '1.1.4' ); 44 44 define( 'TPSM_PLUGIN_DIRNAME', dirname( TPSM_PLUGIN_FILE ) ); 45 45 define( 'TPSM_PLUGIN_BASENAME', plugin_basename( TPSM_PLUGIN_FILE ) ); -
shipping-manager/trunk/views/settings/layout.php
r3291937 r3327388 15 15 ?> 16 16 17 <!-- For Display Notice --> 18 <div class="wrap"> 19 <h1></h1> 20 </div> 21 17 22 <div class="wrap"> 18 23 <div class="themepaste-shipping-manager-wrapper">
Note: See TracChangeset
for help on using the changeset viewer.