Plugin Directory

Changeset 681254


Ignore:
Timestamp:
03/13/2013 02:27:47 PM (13 years ago)
Author:
gesman
Message:

1.22 Release. Fixed settings update, added compatibility with WooCommerce 1.x and 2.x

Location:
bitcoin-payments-for-woocommerce/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • bitcoin-payments-for-woocommerce/trunk/bitcoinway-woocommerce.php

    r678268 r681254  
    1212Plugin URI: http://www.bitcoinway.com/
    1313Description: Bitcoin Payments for WooCommerce plugin allows you to accept payments in bitcoins for physical and digital products at your WooCommerce-powered online store.
    14 Version: 1.21
     14Version: 1.22
    1515Author: BitcoinWay
    1616Author URI: http://www.bitcoinway.com/
  • bitcoin-payments-for-woocommerce/trunk/bwwc-bitcoin-gateway.php

    r678268 r681254  
    6666
    6767            // Actions
    68             add_action('woocommerce_update_options_payment_gateways', array(&$this, 'process_admin_options')); // hook into this action to save options in the backend
     68      if ( version_compare( WOOCOMMERCE_VERSION, '2.0.0', '>=' ) )
     69        add_action('woocommerce_update_options_payment_gateways_' . $this->id, array( &$this, 'process_admin_options' ) );
     70      else
     71                add_action('woocommerce_update_options_payment_gateways', array(&$this, 'process_admin_options')); // hook into this action to save options in the backend
    6972
    7073        add_action('woocommerce_thankyou_' . $this->id, array(&$this, 'BWWC__thankyou_page')); // hooks into the thank you page after payment
  • bitcoin-payments-for-woocommerce/trunk/bwwc-include-all.php

    r678268 r681254  
    77//---------------------------------------------------------------------------
    88// Global definitions
    9 define('BWWC_VERSION',           '1.21');
     9define('BWWC_VERSION',           '1.22');
    1010
    1111//-----------------------------------------------
  • bitcoin-payments-for-woocommerce/trunk/readme.txt

    r678268 r681254  
    4747== Changelog ==
    4848
    49 soon
     49= 1.22 =
     50* Fixed inability to save settings bug.
     51* Added compatibility with both WooCommmerce 1.x and 2.x
    5052
    5153== Upgrade Notice ==
Note: See TracChangeset for help on using the changeset viewer.