Changeset 3812583
- Timestamp:
- 11/19/2026 10:04:28 PM (82 minutes ago)
- Location:
- coinolive
- Files:
-
- 23 added
- 3 edited
- 3 copied
-
tags/1.1.3 (added)
-
tags/1.1.3/assets (added)
-
tags/1.1.3/assets/css (added)
-
tags/1.1.3/assets/css/admin.css (added)
-
tags/1.1.3/assets/css/index.php (added)
-
tags/1.1.3/assets/images (added)
-
tags/1.1.3/assets/images/coinolive.svg (added)
-
tags/1.1.3/assets/images/index.php (added)
-
tags/1.1.3/assets/index.php (added)
-
tags/1.1.3/assets/js (added)
-
tags/1.1.3/assets/js/blocks.js (added)
-
tags/1.1.3/assets/js/index.php (added)
-
tags/1.1.3/coinolive.php (copied) (copied from coinolive/trunk/coinolive.php ) (2 diffs)
-
tags/1.1.3/includes (added)
-
tags/1.1.3/includes/class-coinolive-admin.php (added)
-
tags/1.1.3/includes/class-coinolive-blocks.php (added)
-
tags/1.1.3/includes/class-coinolive-client.php (copied) (copied from coinolive/trunk/includes/class-coinolive-client.php ) (1 diff)
-
tags/1.1.3/includes/class-coinolive-gateway.php (added)
-
tags/1.1.3/includes/class-coinolive-webhook.php (added)
-
tags/1.1.3/includes/index.php (added)
-
tags/1.1.3/index.php (added)
-
tags/1.1.3/languages (added)
-
tags/1.1.3/languages/coinolive.pot (added)
-
tags/1.1.3/languages/index.php (added)
-
tags/1.1.3/readme.txt (copied) (copied from coinolive/trunk/readme.txt ) (2 diffs)
-
tags/1.1.3/uninstall.php (added)
-
trunk/coinolive.php (modified) (2 diffs)
-
trunk/includes/class-coinolive-client.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
coinolive/tags/1.1.3/coinolive.php
r3812365 r3812583 4 4 * Plugin URI: https://coino.live/woocommerce 5 5 * Description: Accept USDT, Bitcoin, Ethereum, TRON, TON, Solana and more in WooCommerce. Customers pay on the Coino Live checkout; orders update automatically. 6 * Version: 1.1. 26 * Version: 1.1.3 7 7 * Author: Coino Live 8 8 * Author URI: https://coino.live … … 20 20 defined( 'ABSPATH' ) || exit; 21 21 22 define( 'COINOLIVE_VERSION', '1.1. 2' );22 define( 'COINOLIVE_VERSION', '1.1.3' ); 23 23 define( 'COINOLIVE_FILE', __FILE__ ); 24 24 define( 'COINOLIVE_DIR', plugin_dir_path( __FILE__ ) ); -
coinolive/tags/1.1.3/includes/class-coinolive-client.php
r3812365 r3812583 111 111 112 112 // A redirect or an HTML 404 means the API URL points at a website, not at the API. 113 if ( ( $status >= 300 && $status < 400 ) || ( 404 === $status && ! is_array( $json) ) ) {113 if ( ( $status >= 300 && $status < 400 ) || ( 404 === $status && ( ! is_array( $json ) || '' === (string) ( $json['message'] ?? '' ) ) ) ) { 114 114 /* translators: 1: the API URL from the settings, 2: HTTP status code */ 115 115 throw new CoinoLive_Exception( esc_html( sprintf( __( 'There is no Coino Live API at %1$s (HTTP %2$d). Check the API URL setting.', 'coinolive' ), $this->base_url, $status ) ), (int) $status ); 116 116 } 117 117 if ( $status < 200 || $status >= 300 ) { 118 $message = is_array( $json ) && isset( $json['message'] ) ? (string) $json['message'] : 'HTTP ' . $status;118 $message = is_array( $json ) && ! empty( $json['message'] ) ? (string) $json['message'] : 'HTTP ' . $status; 119 119 if ( is_array( $json ) && ! empty( $json['errors'] ) && is_array( $json['errors'] ) ) { 120 120 $first = reset( $json['errors'] ); -
coinolive/tags/1.1.3/readme.txt
r3812365 r3812583 7 7 WC requires at least: 7.6 8 8 WC tested up to: 9.9 9 Stable tag: 1.1. 29 Stable tag: 1.1.3 10 10 License: GPLv2 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 65 65 == Changelog == 66 66 67 = 1.1.3 = 68 * A website address entered as the API URL now gives a clear error instead of an empty one. 69 67 70 = 1.1.2 = 68 71 * Plugin URI points to the plugin's page on coino.live. -
coinolive/trunk/coinolive.php
r3812365 r3812583 4 4 * Plugin URI: https://coino.live/woocommerce 5 5 * Description: Accept USDT, Bitcoin, Ethereum, TRON, TON, Solana and more in WooCommerce. Customers pay on the Coino Live checkout; orders update automatically. 6 * Version: 1.1. 26 * Version: 1.1.3 7 7 * Author: Coino Live 8 8 * Author URI: https://coino.live … … 20 20 defined( 'ABSPATH' ) || exit; 21 21 22 define( 'COINOLIVE_VERSION', '1.1. 2' );22 define( 'COINOLIVE_VERSION', '1.1.3' ); 23 23 define( 'COINOLIVE_FILE', __FILE__ ); 24 24 define( 'COINOLIVE_DIR', plugin_dir_path( __FILE__ ) ); -
coinolive/trunk/includes/class-coinolive-client.php
r3812365 r3812583 111 111 112 112 // A redirect or an HTML 404 means the API URL points at a website, not at the API. 113 if ( ( $status >= 300 && $status < 400 ) || ( 404 === $status && ! is_array( $json) ) ) {113 if ( ( $status >= 300 && $status < 400 ) || ( 404 === $status && ( ! is_array( $json ) || '' === (string) ( $json['message'] ?? '' ) ) ) ) { 114 114 /* translators: 1: the API URL from the settings, 2: HTTP status code */ 115 115 throw new CoinoLive_Exception( esc_html( sprintf( __( 'There is no Coino Live API at %1$s (HTTP %2$d). Check the API URL setting.', 'coinolive' ), $this->base_url, $status ) ), (int) $status ); 116 116 } 117 117 if ( $status < 200 || $status >= 300 ) { 118 $message = is_array( $json ) && isset( $json['message'] ) ? (string) $json['message'] : 'HTTP ' . $status;118 $message = is_array( $json ) && ! empty( $json['message'] ) ? (string) $json['message'] : 'HTTP ' . $status; 119 119 if ( is_array( $json ) && ! empty( $json['errors'] ) && is_array( $json['errors'] ) ) { 120 120 $first = reset( $json['errors'] ); -
coinolive/trunk/readme.txt
r3812365 r3812583 7 7 WC requires at least: 7.6 8 8 WC tested up to: 9.9 9 Stable tag: 1.1. 29 Stable tag: 1.1.3 10 10 License: GPLv2 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 65 65 == Changelog == 66 66 67 = 1.1.3 = 68 * A website address entered as the API URL now gives a clear error instead of an empty one. 69 67 70 = 1.1.2 = 68 71 * Plugin URI points to the plugin's page on coino.live.
Note:
See TracChangeset
for help on using the changeset viewer.