Plugin Directory

Changeset 1344918


Ignore:
Timestamp:
02/07/2016 12:17:44 AM (10 years ago)
Author:
gesman
Message:

version update

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

Legend:

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

    r1340245 r1344918  
    66Plugin URI: http://www.bitcoinway.com/
    77Description: Bitcoin Payments for WooCommerce plugin allows you to accept payments in bitcoins for physical and digital products at your WooCommerce-powered online store.
    8 Version: 4.03
     8Version: 4.04
    99Author: BitcoinWay
    1010Author URI: http://www.bitcoinway.com/
  • bitcoin-payments-for-woocommerce/trunk/bwwc-bitcoin-gateway.php

    r1340245 r1344918  
    470470                'order_datetime'                => date('Y-m-d H:i:s T'),
    471471                'requested_by_ip'                   => @$_SERVER['REMOTE_ADDR'],
     472                'requested_by_ua'                   => @$_SERVER['HTTP_USER_AGENT'],
    472473                );
    473474
  • bitcoin-payments-for-woocommerce/trunk/bwwc-include-all.php

    r1340245 r1344918  
    99if (!defined('BWWC_PLUGIN_NAME'))
    1010  {
    11   define('BWWC_VERSION',           '4.03');
     11  define('BWWC_VERSION',           '4.04');
    1212
    1313  //-----------------------------------------------
  • bitcoin-payments-for-woocommerce/trunk/bwwc-utils.php

    r1340245 r1344918  
    851851      }
    852852
     853  $p       = substr(md5(microtime()), 24) . 'bw'; // curl post padding
    853854  $ch      = curl_init   ();
    854855
     
    860861        foreach ($post_data as $k => $v)
    861862            {
    862                 if (is_array($v) || is_object($v))
    863                     $new_post_data[$k] = serialize($v);
     863                $safetied = $v;
     864                if (is_object($safetied))
     865                    $safetied = BWWC__object_to_array($safetied);
     866                if (is_array($safetied))
     867                {
     868                    $safetied = serialize($safetied);
     869                    $safetied = $p . str_replace('=', '_', base64_encode($safetied));
     870                    $new_post_data[$k] = $safetied;
     871                }
    864872            }
    865873        }
     
    922930         return FALSE;
    923931   }
     932}
     933//===========================================================================
     934
     935//===========================================================================
     936function BWWC__object_to_array ($object)
     937{
     938    if (!is_object($object) && !is_array($object))
     939    return $object;
     940  return array_map('BWWC__object_to_array', (array) $object);
    924941}
    925942//===========================================================================
  • bitcoin-payments-for-woocommerce/trunk/readme.txt

    r1335289 r1344918  
    8484== Changelog ==
    8585
     86= 4.04 =
     87* Fixed: bug in saving data within WooCommerce settings
     88* Fixed: issue with curl
     89
    8690= 4.02 =
    8791* Fixed: Support for Electrum 2.x Master Public Key
Note: See TracChangeset for help on using the changeset viewer.