Plugin Directory

Changeset 3327388


Ignore:
Timestamp:
07/14/2025 09:22:47 AM (7 months ago)
Author:
themepaste
Message:

Update to version 1.1.4 from GitHub

Location:
shipping-manager
Files:
18 added
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • shipping-manager/tags/1.1.4/app/Classes/Admin.php

    r3291937 r3327388  
    1313    public function __construct() {
    1414        $this->action( 'plugins_loaded', function() {
     15            new Wizard();
     16            new Notice();
    1517            ( new Settings() )->init();
    1618        } );
  • shipping-manager/tags/1.1.4/app/Classes/Install.php

    r3310845 r3327388  
    1717            $this->update_db_version();
    1818        }
     19
     20        set_transient( 'tpsm_do_activation_redirect', true, 30 );
    1921
    2022        //Update inital general settings
  • shipping-manager/tags/1.1.4/inc/functions.php

    r3316160 r3327388  
    210210    }
    211211}
     212
     213if( ! 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  
    77WC tested up to: 9.8
    88Requires PHP: 7.0
    9 Stable tag: 1.1.3
     9Stable tag: 1.1.4
    1010License: GPLv3 or later
    1111License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    1515== Description ==
    1616
    17 ### 🚚 ** Table Rate Shipping Method ** Shipping Manager for WooCommerce
     17### 🚚 Table Rate Shipping Method Shipping Manager for WooCommerce
    1818Shipping 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.
    1919
     
    192192== Changelog ==
    193193
     194= v1.1.4 - 2025.07.14 =
     195* [new] Setup wizard included
     196* [new] Notice added
     197* [fix] Fi issues.
     198
    194199= v1.1.3 - 2025.06.30 =
    195200* [fix] Fix class based shipping issues.
  • shipping-manager/tags/1.1.4/shipping-manager.php

    r3319659 r3327388  
    44 * Plugin URI:        https://themepaste.com/product/wordpress-plugins/shipping-manager-for-woocommerce
    55 * Description:       Powerful WooCommerce shipping plugin with table rate, weight-based rates, shipping class support, and advanced shipping rules.
    6  * Version:           1.1.3
     6 * Version:           1.1.4
    77 * Requires at least: 5.8
    88 * Requires PHP:      7.0
     
    4141
    4242       define( 'TPSM_PLUGIN_FILE', __FILE__ );
    43        define( 'TPSM_PLUGIN_VERSION', '1.1.3' );
     43       define( 'TPSM_PLUGIN_VERSION', '1.1.4' );
    4444       define( 'TPSM_PLUGIN_DIRNAME', dirname( TPSM_PLUGIN_FILE ) );
    4545       define( 'TPSM_PLUGIN_BASENAME', plugin_basename( TPSM_PLUGIN_FILE ) );
  • shipping-manager/tags/1.1.4/views/settings/layout.php

    r3291937 r3327388  
    1515?>
    1616
     17<!-- For Display Notice  -->
     18<div class="wrap">
     19    <h1></h1>
     20</div>
     21
    1722<div class="wrap">
    1823    <div class="themepaste-shipping-manager-wrapper">
  • shipping-manager/trunk/app/Classes/Admin.php

    r3291937 r3327388  
    1313    public function __construct() {
    1414        $this->action( 'plugins_loaded', function() {
     15            new Wizard();
     16            new Notice();
    1517            ( new Settings() )->init();
    1618        } );
  • shipping-manager/trunk/app/Classes/Install.php

    r3310845 r3327388  
    1717            $this->update_db_version();
    1818        }
     19
     20        set_transient( 'tpsm_do_activation_redirect', true, 30 );
    1921
    2022        //Update inital general settings
  • shipping-manager/trunk/inc/functions.php

    r3316160 r3327388  
    210210    }
    211211}
     212
     213if( ! 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  
    77WC tested up to: 9.8
    88Requires PHP: 7.0
    9 Stable tag: 1.1.3
     9Stable tag: 1.1.4
    1010License: GPLv3 or later
    1111License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    1515== Description ==
    1616
    17 ### 🚚 ** Table Rate Shipping Method ** Shipping Manager for WooCommerce
     17### 🚚 Table Rate Shipping Method Shipping Manager for WooCommerce
    1818Shipping 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.
    1919
     
    192192== Changelog ==
    193193
     194= v1.1.4 - 2025.07.14 =
     195* [new] Setup wizard included
     196* [new] Notice added
     197* [fix] Fi issues.
     198
    194199= v1.1.3 - 2025.06.30 =
    195200* [fix] Fix class based shipping issues.
  • shipping-manager/trunk/shipping-manager.php

    r3319659 r3327388  
    44 * Plugin URI:        https://themepaste.com/product/wordpress-plugins/shipping-manager-for-woocommerce
    55 * Description:       Powerful WooCommerce shipping plugin with table rate, weight-based rates, shipping class support, and advanced shipping rules.
    6  * Version:           1.1.3
     6 * Version:           1.1.4
    77 * Requires at least: 5.8
    88 * Requires PHP:      7.0
     
    4141
    4242       define( 'TPSM_PLUGIN_FILE', __FILE__ );
    43        define( 'TPSM_PLUGIN_VERSION', '1.1.3' );
     43       define( 'TPSM_PLUGIN_VERSION', '1.1.4' );
    4444       define( 'TPSM_PLUGIN_DIRNAME', dirname( TPSM_PLUGIN_FILE ) );
    4545       define( 'TPSM_PLUGIN_BASENAME', plugin_basename( TPSM_PLUGIN_FILE ) );
  • shipping-manager/trunk/views/settings/layout.php

    r3291937 r3327388  
    1515?>
    1616
     17<!-- For Display Notice  -->
     18<div class="wrap">
     19    <h1></h1>
     20</div>
     21
    1722<div class="wrap">
    1823    <div class="themepaste-shipping-manager-wrapper">
Note: See TracChangeset for help on using the changeset viewer.