Changeset 2192816
- Timestamp:
- 11/14/2019 01:52:45 PM (6 years ago)
- Location:
- woo-asaas/trunk
- Files:
-
- 4 edited
-
includes/api/client/class-client.php (modified) (2 diffs)
-
includes/class-wc-asaas.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
woo-asaas.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
woo-asaas/trunk/includes/api/client/class-client.php
r1976761 r2192816 82 82 $response = $this->http->request( 83 83 $url, array( 84 'method' => $method, 84 'method' => $method, 85 'timeout' => 10, 85 86 'body' => wp_json_encode( $data ), 86 87 'headers' => array( … … 139 140 } 140 141 141 $http_response = $response['http_response']; 142 143 return array( 144 'status' => $http_response->get_status(), 145 'data' => $http_response->get_data(), 146 ); 142 if (is_wp_error($response)) { 143 return array( 144 'status' => $response->get_error_code(), 145 'data' => $response->get_error_data(), 146 ); 147 } else { 148 $http_response = $response['http_response']; 149 150 return array( 151 'status' => $http_response->get_status(), 152 'data' => $http_response->get_data(), 153 ); 154 } 147 155 } 148 156 -
woo-asaas/trunk/includes/class-wc-asaas.php
r2030372 r2192816 29 29 * @var string 30 30 */ 31 public $version = '1.2. 0';31 public $version = '1.2.1'; 32 32 33 33 /** -
woo-asaas/trunk/readme.txt
r2030372 r2192816 6 6 Tested up to: 4.9.6 7 7 Requires PHP: 5.6 8 Stable tag: 1.2. 08 Stable tag: 1.2.1 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 47 47 48 48 == Changelog == 49 50 = 1.2.1 = 51 * Fix - Fix webhook return on request error 52 * Fix - Request timeout was increaced 49 53 50 54 = 1.2.0 = -
woo-asaas/trunk/woo-asaas.php
r2030372 r2192816 8 8 * Text Domain: woo-asaas 9 9 * Domain Path: /languages 10 * Version: 1.2. 010 * Version: 1.2.1 11 11 * 12 12 * @package WooAsaas
Note: See TracChangeset
for help on using the changeset viewer.