Changeset 1727837
- Timestamp:
- 09/11/2017 03:27:23 AM (9 years ago)
- Location:
- yakit/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
yakit-shipping.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
yakit/trunk/readme.txt
r1724452 r1727837 67 67 == Changelog == 68 68 69 = v1.2.2 (2017-09-11) = 70 * Updated the rate api timeout - 10000 to wp_remote_get parameter 71 * Declared the null array if no parameter set in calculate_shipping 72 69 73 = v1.2.1 (2017-09-04) = 70 74 * Set the rate api timeout - 500 to wp_remote_get parameter -
yakit/trunk/yakit-shipping.php
r1724452 r1727837 4 4 * Plugin URI: https://www.yakit.com/woocommerce/yakit-for-woocommerce/ 5 5 * Description: * Transparent pricing with no minimums or monthly charges. * Guaranteed duties and taxes along with shipping cost in your shopping cart. * Ship internationally to more than 45 countries now! 6 * Version: 1.2. 16 * Version: 1.2.2 7 7 * Author: Yakit 8 8 * Author URI: https://www.yakit.com/ … … 103 103 * @return void 104 104 */ 105 public function calculate_shipping( $package ) {105 public function calculate_shipping( $package=array() ) { 106 106 global $woocommerce; 107 107 $this->instance_settings = get_option( $this->get_instance_option_key(), null ); … … 159 159 'body' => $check, 160 160 'sslverify' => 'false', 161 'timeout' => 500161 'timeout' => 10000 162 162 ); 163 163 $res = wp_remote_get( $url, $args );
Note: See TracChangeset
for help on using the changeset viewer.