Plugin Directory

Changeset 1607888


Ignore:
Timestamp:
03/04/2017 06:34:02 PM (9 years ago)
Author:
opentools
Message:

V1.3.9: Fix issues with the WC PDF Invoices & Package Slips plugin (numbers were created even if disabled and even before invoices were actually created)

Location:
woocommerce-basic-ordernumbers
Files:
3 edited
14 copied

Legend:

Unmodified
Added
Removed
  • woocommerce-basic-ordernumbers/tags/1.3.9/ordernumbers_woocommerce_basic.php

    r1459453 r1607888  
    495495    }
    496496   
     497    // Only retrieve the number, but do not create it if it doesn't exist:
     498    function get_number($default, $order, $type = 'ordernumber') {
     499        return get_post_meta( $order->id, $this->ordernumber_meta.$type, true);
     500    }
     501   
    497502    /**
    498503     * Callback function for Woocommerce to retrieve the ordernumber for an order
  • woocommerce-basic-ordernumbers/tags/1.3.9/readme.txt

    r1556794 r1607888  
    55Requires at least: 4.0
    66Tested up to: 4.7
    7 Stable tag: 1.3.8
     7Stable tag: 1.3.9
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl.html
     
    7979== Changelog ==
    8080
     81= 1.3.9 =
     82* Fix issues with the WooCommerce PDF Invoices & Packaging Slips plugin (invoice numbers were created even if disabled and before an invoice was actually generated)
     83
    8184= 1.3.8 =
    8285* Add debug messages to the update system (disabled by default)
  • woocommerce-basic-ordernumbers/tags/1.3.9/woocommerce-basic-ordernumbers.php

    r1556794 r1607888  
    44 * Plugin URI: http://open-tools.net/woocommerce/advanced-ordernumbers-for-woocommerce.html
    55 * Description: Configure WooCommerce ordernumbers to have a running counter and arbitrary, fixed text (prefix / postfix).
    6  * Version: 1.3.8
     6 * Version: 1.3.9
    77 * Author: Open Tools
    88 * Author URI: http://open-tools.net
  • woocommerce-basic-ordernumbers/trunk/ordernumbers_woocommerce_basic.php

    r1459453 r1607888  
    495495    }
    496496   
     497    // Only retrieve the number, but do not create it if it doesn't exist:
     498    function get_number($default, $order, $type = 'ordernumber') {
     499        return get_post_meta( $order->id, $this->ordernumber_meta.$type, true);
     500    }
     501   
    497502    /**
    498503     * Callback function for Woocommerce to retrieve the ordernumber for an order
  • woocommerce-basic-ordernumbers/trunk/readme.txt

    r1556794 r1607888  
    55Requires at least: 4.0
    66Tested up to: 4.7
    7 Stable tag: 1.3.8
     7Stable tag: 1.3.9
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl.html
     
    7979== Changelog ==
    8080
     81= 1.3.9 =
     82* Fix issues with the WooCommerce PDF Invoices & Packaging Slips plugin (invoice numbers were created even if disabled and before an invoice was actually generated)
     83
    8184= 1.3.8 =
    8285* Add debug messages to the update system (disabled by default)
  • woocommerce-basic-ordernumbers/trunk/woocommerce-basic-ordernumbers.php

    r1556794 r1607888  
    44 * Plugin URI: http://open-tools.net/woocommerce/advanced-ordernumbers-for-woocommerce.html
    55 * Description: Configure WooCommerce ordernumbers to have a running counter and arbitrary, fixed text (prefix / postfix).
    6  * Version: 1.3.8
     6 * Version: 1.3.9
    77 * Author: Open Tools
    88 * Author URI: http://open-tools.net
Note: See TracChangeset for help on using the changeset viewer.