Plugin Directory

Changeset 2443595


Ignore:
Timestamp:
12/21/2020 12:12:46 PM (5 years ago)
Author:
hfddev
Message:

עדכון מעבר סנכרונים בלינק מאובטח פרוטוקול HTTPS

Location:
hfd-integration/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • hfd-integration/trunk/class/App.php

    r2409719 r2443595  
    409409    {
    410410        /* @var \Hfd\Woocommerce\Setting $setting */
    411         $setting = Container::get('Hfd\Woocommerce\Setting');
     411        $setting = Container::get( 'Hfd\Woocommerce\Setting' );
    412412        $setting->initDefaultSetting();
    413413    }
  • hfd-integration/trunk/class/Setting.php

    r2409719 r2443595  
    4949        );
    5050
    51         foreach ($_settings as $name => $value) {
    52             if (!get_option($name)) {
    53                 update_option($name, $value);
    54             }
     51        foreach( $_settings as $name => $value ){
     52            $option_value = get_option( $name );
     53            if( !$option_value ){
     54                update_option( $name, $value );
     55            }else{
     56                if( strpos( $option_value, "http://" ) !== false ){
     57                    update_option( $name, $value );
     58                }
     59            }
    5560        }
    5661    }
  • hfd-integration/trunk/hfd-woocommerce-epost.php

    r2420649 r2443595  
    44Plugin URI:
    55Description: Add shipping method of ePost, allowing the user on the checkout, to select the pickup location point from a google map popup. Also allows to synch the order to HFD API after the order is created.
    6 Version: 1.3.0
     6Version: 1.4.0
    77Author: HFD
    88Author URI: https://www.hfd.co.il
  • hfd-integration/trunk/readme.txt

    r2420649 r2443595  
    7575
    7676== Changelog ==
     77= 1.4 =
     78* עדכון מעבר סנכרונים בלינק מאובטח פרוטוקול HTTPS
    7779= 1.3 =
    7880* שינוי טקסטים והוספת משלוח לאיסוף
Note: See TracChangeset for help on using the changeset viewer.