Changeset 3460594
- Timestamp:
- 02/13/2026 09:01:59 AM (7 weeks ago)
- Location:
- reasonable-spread
- Files:
-
- 7 edited
-
tags/1.1.6/inc/Api/ApiManager.php (modified) (1 diff)
-
tags/1.1.6/inc/Api/EncryptionHelper.php (modified) (1 diff)
-
tags/1.1.6/readme.txt (modified) (1 diff)
-
trunk/inc/Api/ApiManager.php (modified) (1 diff)
-
trunk/inc/Api/EncryptionHelper.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/reasonable-spread.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
reasonable-spread/tags/1.1.6/inc/Api/ApiManager.php
r3459467 r3460594 66 66 } 67 67 public function getSoapClient(){ 68 if (!class_exists('SoapClient')) { 69 throw new \Exception('The PHP SOAP extension is not installed. Please contact your hosting provider to enable the php-soap extension.'); 70 } 68 71 $urls = self::$url; 69 72 return new SoapClient($urls[self::ENVIRONMENT] .'Service.asmx?WSDL'); -
reasonable-spread/tags/1.1.6/inc/Api/EncryptionHelper.php
r3460555 r3460594 36 36 private static function getEncryptionKey() { 37 37 // Try to use WordPress AUTH_KEY if available 38 if (defined('AUTH_KEY') && !empty(AUTH_KEY)) { 38 // Note: empty() cannot accept constants in PHP 5.4, so use AUTH_KEY !== '' instead 39 if (defined('AUTH_KEY') && AUTH_KEY !== '') { 39 40 return substr(AUTH_KEY, 0, 32); 40 41 } -
reasonable-spread/tags/1.1.6/readme.txt
r3459574 r3460594 180 180 181 181 * WordPress 5.0 or higher 182 * PHP 7.4 or higher182 * PHP 5.4 or higher 183 183 * SOAP extension enabled (for API communication) 184 184 * SSL certificate (recommended for secure API communication) -
reasonable-spread/trunk/inc/Api/ApiManager.php
r3459468 r3460594 66 66 } 67 67 public function getSoapClient(){ 68 if (!class_exists('SoapClient')) { 69 throw new \Exception('The PHP SOAP extension is not installed. Please contact your hosting provider to enable the php-soap extension.'); 70 } 68 71 $urls = self::$url; 69 72 return new SoapClient($urls[self::ENVIRONMENT] .'Service.asmx?WSDL'); -
reasonable-spread/trunk/inc/Api/EncryptionHelper.php
r3460555 r3460594 36 36 private static function getEncryptionKey() { 37 37 // Try to use WordPress AUTH_KEY if available 38 if (defined('AUTH_KEY') && !empty(AUTH_KEY)) { 38 // Note: empty() cannot accept constants in PHP 5.4, so use AUTH_KEY !== '' instead 39 if (defined('AUTH_KEY') && AUTH_KEY !== '') { 39 40 return substr(AUTH_KEY, 0, 32); 40 41 } -
reasonable-spread/trunk/readme.txt
r3459574 r3460594 5 5 Tested up to: 6.9 6 6 Requires PHP: 5.4 7 Stable tag: 1.1. 67 Stable tag: 1.1.7 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 108 108 == Changelog == 109 109 110 = 1.1.7 = 111 * Fix: Resolved PHP 5.4 parse error with empty() on constants (T_PAAMAYIM_NEKUDOTAYIM) 112 * Fix: Added graceful fallback when PHP OpenSSL extension is not available 113 * Fix: Added graceful error handling when PHP SOAP extension is not installed 114 * Improvement: Better PHP 5.4 compatibility for encryption helper 115 110 116 = 1.1.6 = 111 117 * Maintenance: Confirmed PHP 5.4 compatibility (downgraded from PHP 7.4 requirement) … … 180 186 181 187 * WordPress 5.0 or higher 182 * PHP 7.4 or higher188 * PHP 5.4 or higher 183 189 * SOAP extension enabled (for API communication) 184 190 * SSL certificate (recommended for secure API communication) -
reasonable-spread/trunk/reasonable-spread.php
r3459475 r3460594 9 9 * Domain Path: /languages 10 10 * Author URL: https://rspread.hk/ 11 * Version: 1.1. 611 * Version: 1.1.7 12 12 * Requires PHP: 5.4 13 13 * License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.