Changeset 3390889
- Timestamp:
- 11/06/2025 08:00:19 AM (5 months ago)
- Location:
- tnc-toolbox
- Files:
-
- 17 added
- 4 edited
-
tags/2.0.2 (added)
-
tags/2.0.2/assets (added)
-
tags/2.0.2/assets/index.php (added)
-
tags/2.0.2/assets/styles-config.css (added)
-
tags/2.0.2/assets/tnc-icon-light.png (added)
-
tags/2.0.2/core (added)
-
tags/2.0.2/core/core.php (added)
-
tags/2.0.2/core/index.php (added)
-
tags/2.0.2/core/settings.php (added)
-
tags/2.0.2/index.php (added)
-
tags/2.0.2/languages (added)
-
tags/2.0.2/languages/index.php (added)
-
tags/2.0.2/license.txt (added)
-
tags/2.0.2/readme.txt (added)
-
tags/2.0.2/tnc-toolbox.php (added)
-
tags/2.0.2/vendors (added)
-
tags/2.0.2/vendors/cpanel-uapi.php (added)
-
trunk/core/core.php (modified) (1 diff)
-
trunk/core/settings.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/tnc-toolbox.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tnc-toolbox/trunk/core/core.php
r3390875 r3390889 192 192 * Set notice helper for admin notices 193 193 */ 194 p rivatefunction set_notice($message, $type = 'error') {194 public static function set_notice($message, $type = 'error') { 195 195 $transient_key = $type === 'error' ? 196 196 'tnctoolbox_uapi_action_error' : -
tnc-toolbox/trunk/core/settings.php
r3390845 r3390889 135 135 try { 136 136 $test_result = TNC_cPanel_UAPI::test_connection(); 137 TNC_ cPanel_UAPI::set_notice(137 TNC_Core::set_notice( 138 138 $test_result['message'], 139 139 $test_result['success'] ? 'success' : 'error' 140 140 ); 141 141 } catch (Exception $e) { 142 TNC_ cPanel_UAPI::set_notice(142 TNC_Core::set_notice( 143 143 'Connection test failed: ' . $e->getMessage(), 144 144 'error' … … 146 146 } 147 147 } else { 148 TNC_ cPanel_UAPI::set_notice(148 TNC_Core::set_notice( 149 149 'Please fill in all fields to test the connection.', 150 150 'error' -
tnc-toolbox/trunk/readme.txt
r3390875 r3390889 8 8 Tested up to: 6.8 9 9 Requires PHP: 8.0 10 Stable tag: 2.0. 110 Stable tag: 2.0.2 11 11 License: GPLv3 12 12 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 95 95 == Changelog == 96 96 97 = 2.0.2: Nov 6, 2025 = 98 * Fix: Settings save no longer errors (relocated func.) (#32) 99 97 100 = 2.0.1: Nov 6, 2025 = 98 101 * Fix: Auto-purge now calls directly (re: nonce failure) (#31) -
tnc-toolbox/trunk/tnc-toolbox.php
r3390875 r3390889 6 6 * @author The Network Crew Pty Ltd (TNC & Co.) 7 7 * @license gplv3 8 * @version 2.0. 18 * @version 2.0.2 9 9 * 10 10 * @wordpress-plugin … … 12 12 * Plugin URI: https://merlot.digital 13 13 * Description: Adds functionality to WP - designed for NGINX-powered Servers on cPanel+WHM. Made to help you fly online! 14 * Version: 2.0. 114 * Version: 2.0.2 15 15 * Requires at least: 6.0 16 16 * Requires PHP: 8.0 … … 32 32 33 33 // Plugin version 34 define('TNCTOOLBOX_VERSION', '2.0. 1');34 define('TNCTOOLBOX_VERSION', '2.0.2'); 35 35 36 36 // Plugin Root File
Note: See TracChangeset
for help on using the changeset viewer.