Changeset 3431562
- Timestamp:
- 01/03/2026 10:33:11 AM (3 months ago)
- Location:
- mycryptocheckout/trunk
- Files:
-
- 8 edited
-
MyCryptoCheckout.php (modified) (2 diffs)
-
composer.lock (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
vendor/composer/installed.json (modified) (2 diffs)
-
vendor/composer/installed.php (modified) (3 diffs)
-
vendor/mycryptocheckout/api/changelog.txt (modified) (1 diff)
-
vendor/mycryptocheckout/api/src/v2/API.php (modified) (1 diff)
-
vendor/plainview/sdk/wordpress/traits/debug.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mycryptocheckout/trunk/MyCryptoCheckout.php
r3431091 r3431562 8 8 Plugin URI: https://mycryptocheckout.com 9 9 Text Domain: mycryptocheckout 10 Version: 2.15 610 Version: 2.157 11 11 WC tested up to: 10.4.3 12 12 License: GPLv3 … … 80 80 namespace 81 81 { 82 define( 'MYCRYPTOCHECKOUT_PLUGIN_VERSION', 2.15 6);82 define( 'MYCRYPTOCHECKOUT_PLUGIN_VERSION', 2.157 ); 83 83 /** 84 84 @brief Return the instance of MCC. -
mycryptocheckout/trunk/composer.lock
r3431091 r3431562 488 488 { 489 489 "name": "mycryptocheckout/api", 490 "version": "2.2 2",490 "version": "2.23", 491 491 "source": { 492 492 "type": "git", 493 493 "url": "https://bitbucket.org/mycryptocheckout/api.git", 494 "reference": " 4244cb5c785b807dde3b4f09ab86307640de2567"495 }, 496 "dist": { 497 "type": "zip", 498 "url": "https://bitbucket.org/mycryptocheckout/api/get/ 4244cb5c785b807dde3b4f09ab86307640de2567.zip",499 "reference": " 4244cb5c785b807dde3b4f09ab86307640de2567",494 "reference": "f48c0bce73466b3169a46c4a5c5f2cc98c62fc6c" 495 }, 496 "dist": { 497 "type": "zip", 498 "url": "https://bitbucket.org/mycryptocheckout/api/get/f48c0bce73466b3169a46c4a5c5f2cc98c62fc6c.zip", 499 "reference": "f48c0bce73466b3169a46c4a5c5f2cc98c62fc6c", 500 500 "shasum": "" 501 501 }, … … 517 517 "support": { 518 518 "issues": "https://bitbucket.org/mycryptocheckout/api/issues", 519 "source": "https://bitbucket.org/mycryptocheckout/api/src/ 4244cb5c785b807dde3b4f09ab86307640de2567/?at=2.22"520 }, 521 "time": "2026-01-0 2T12:54:42+00:00"519 "source": "https://bitbucket.org/mycryptocheckout/api/src/f48c0bce73466b3169a46c4a5c5f2cc98c62fc6c/?at=2.23" 520 }, 521 "time": "2026-01-03T10:15:20+00:00" 522 522 }, 523 523 { -
mycryptocheckout/trunk/readme.txt
r3431091 r3431562 5 5 Requires at least: 6.2 6 6 Requires PHP: 8.0 7 Stable tag: 2.15 67 Stable tag: 2.157 8 8 Tags: bitcoin, ethereum, payments, woocommerce, bitcoin woocommerce 9 9 Tested up to: 6.9 … … 257 257 == Changelog == 258 258 259 = 2.157 = 260 261 * Code: Cloudflare IP check updated. SDK update. 262 259 263 = 2.156 = 260 264 -
mycryptocheckout/trunk/vendor/composer/installed.json
r3431091 r3431562 484 484 { 485 485 "name": "mycryptocheckout/api", 486 "version": "2.2 2",487 "version_normalized": "2.2 2.0.0",486 "version": "2.23", 487 "version_normalized": "2.23.0.0", 488 488 "source": { 489 489 "type": "git", 490 490 "url": "https://bitbucket.org/mycryptocheckout/api.git", 491 "reference": " 4244cb5c785b807dde3b4f09ab86307640de2567"492 }, 493 "dist": { 494 "type": "zip", 495 "url": "https://bitbucket.org/mycryptocheckout/api/get/ 4244cb5c785b807dde3b4f09ab86307640de2567.zip",496 "reference": " 4244cb5c785b807dde3b4f09ab86307640de2567",497 "shasum": "" 498 }, 499 "time": "2026-01-0 2T12:54:42+00:00",491 "reference": "f48c0bce73466b3169a46c4a5c5f2cc98c62fc6c" 492 }, 493 "dist": { 494 "type": "zip", 495 "url": "https://bitbucket.org/mycryptocheckout/api/get/f48c0bce73466b3169a46c4a5c5f2cc98c62fc6c.zip", 496 "reference": "f48c0bce73466b3169a46c4a5c5f2cc98c62fc6c", 497 "shasum": "" 498 }, 499 "time": "2026-01-03T10:15:20+00:00", 500 500 "type": "library", 501 501 "installation-source": "dist", … … 516 516 "support": { 517 517 "issues": "https://bitbucket.org/mycryptocheckout/api/issues", 518 "source": "https://bitbucket.org/mycryptocheckout/api/src/ 4244cb5c785b807dde3b4f09ab86307640de2567/?at=2.22"518 "source": "https://bitbucket.org/mycryptocheckout/api/src/f48c0bce73466b3169a46c4a5c5f2cc98c62fc6c/?at=2.23" 519 519 }, 520 520 "install-path": "../mycryptocheckout/api" -
mycryptocheckout/trunk/vendor/composer/installed.php
r3431091 r3431562 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' 7a8835b04c81d0b5bafb7c03ab84cab8c9df308e',6 'reference' => '6d0f49d04614bdfb719fd8f5241ca9eb8678657c', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-master', 15 15 'version' => 'dev-master', 16 'reference' => ' 7a8835b04c81d0b5bafb7c03ab84cab8c9df308e',16 'reference' => '6d0f49d04614bdfb719fd8f5241ca9eb8678657c', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', … … 93 93 ), 94 94 'mycryptocheckout/api' => array( 95 'pretty_version' => '2.2 2',96 'version' => '2.2 2.0.0',97 'reference' => ' 4244cb5c785b807dde3b4f09ab86307640de2567',95 'pretty_version' => '2.23', 96 'version' => '2.23.0.0', 97 'reference' => 'f48c0bce73466b3169a46c4a5c5f2cc98c62fc6c', 98 98 'type' => 'library', 99 99 'install_path' => __DIR__ . '/../mycryptocheckout/api', -
mycryptocheckout/trunk/vendor/mycryptocheckout/api/changelog.txt
r3431091 r3431562 1 2.23 20250103 2 3 Fixed CF IP validity check. 4 1 5 2.22 20260102 2 6 -
mycryptocheckout/trunk/vendor/mycryptocheckout/api/src/v2/API.php
r3431091 r3431562 311 311 // Cloudflare adds a header with the visitor's real IP, which is what we need to check. 312 312 if ( isset( $_SERVER[ 'HTTP_CF_CONNECTING_IP' ] ) ) 313 if ( $this->is_cloudflare_ip() ) 313 { 314 if ( $this->is_cloudflare_ip( $remote_ip ) ) 314 315 $remote_ip = $_SERVER[ 'HTTP_CF_CONNECTING_IP' ]; 315 316 else 316 throw new Exception( sprintf( 'Spoofed IP address generated from %s', $remote_ip ) ); 317 throw new Exception( sprintf( 'Spoofed IP address %s generated from %s', $_SERVER[ 'HTTP_CF_CONNECTING_IP' ] , $remote_ip ) ); 318 } 317 319 318 320 if ( ! in_array( $remote_ip, $allowed_ips ) ) -
mycryptocheckout/trunk/vendor/plainview/sdk/wordpress/traits/debug.php
r3419521 r3431562 117 117 if ( is_string( $arg ) ) 118 118 $args[ $index ] = htmlspecialchars( $arg ); 119 }120 foreach( $args as $index => $arg )121 {122 if ( is_array( $arg ) || is_object( $arg ) ) {123 $args[ $index ] = sprintf( '<pre><code>%s</code></pre>', htmlspecialchars( var_export( $arg, true ) ) );124 } else if ( is_string( $arg ) ) {125 $args[ $index ] = htmlspecialchars( $arg );126 }127 119 } 128 120
Note: See TracChangeset
for help on using the changeset viewer.