Plugin Directory

Changeset 2884086


Ignore:
Timestamp:
03/21/2023 08:26:48 AM (3 years ago)
Author:
posturinn
Message:

Tagging version 1.1.5

Location:
posturinn
Files:
1 deleted
3 edited
19 copied

Legend:

Unmodified
Added
Removed
  • posturinn/tags/1.1.5/inc/functions.php

    r2832226 r2884086  
    281281        uasort($postboxes['postboxes'], function($a, $b){
    282282            $shipping_postcode = WC()->customer->get_shipping_postcode();
    283             return abs($shipping_postcode-$a['postcode']) - abs($shipping_postcode-$b['postcode']);
     283            return abs(intval($shipping_postcode)-intval($a['postcode'])) - abs(intval($shipping_postcode)-intval($b['postcode']));
    284284        });
    285285       
  • posturinn/tags/1.1.5/readme.txt

    r2832226 r2884086  
    2626
    2727== Changelog ==
     28= 1.1.5 =
     29fixed return for postboxes
     30
    2831= 1.1.4 =
    2932add processing to if shipment is ready function
  • posturinn/tags/1.1.5/wc-posturinn-shipping-api.php

    r2832226 r2884086  
    33 * Plugin Name: Pósturinn's Shipping with WooCommerce
    44 * Description: This plugin is an WooCommerce extension to extend shipping method with Pósturinn's - Iceland
    5  * Version: 1.1.4
     5 * Version: 1.1.5
    66 * Author: Pósturinn
    77 * Author URI: https://postur.is
  • posturinn/trunk/inc/functions.php

    r2832226 r2884086  
    281281        uasort($postboxes['postboxes'], function($a, $b){
    282282            $shipping_postcode = WC()->customer->get_shipping_postcode();
    283             return abs($shipping_postcode-$a['postcode']) - abs($shipping_postcode-$b['postcode']);
     283            return abs(intval($shipping_postcode)-intval($a['postcode'])) - abs(intval($shipping_postcode)-intval($b['postcode']));
    284284        });
    285285       
  • posturinn/trunk/readme.txt

    r2832226 r2884086  
    2626
    2727== Changelog ==
     28= 1.1.5 =
     29fixed return for postboxes
     30
    2831= 1.1.4 =
    2932add processing to if shipment is ready function
  • posturinn/trunk/wc-posturinn-shipping-api.php

    r2832226 r2884086  
    33 * Plugin Name: Pósturinn's Shipping with WooCommerce
    44 * Description: This plugin is an WooCommerce extension to extend shipping method with Pósturinn's - Iceland
    5  * Version: 1.1.4
     5 * Version: 1.1.5
    66 * Author: Pósturinn
    77 * Author URI: https://postur.is
Note: See TracChangeset for help on using the changeset viewer.