Changeset 3426010
- Timestamp:
- 12/23/2025 09:17:17 AM (3 months ago)
- Location:
- code-profiler/trunk
- Files:
-
- 6 edited
-
index.php (modified) (2 diffs)
-
lib/class-troubleshooter.php (modified) (2 diffs)
-
lib/helper.php (modified) (1 diff)
-
lib/i18n-extra.php (modified) (2 diffs)
-
lib/menu_profiler.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
code-profiler/trunk/index.php
r3375722 r3426010 6 6 Author: Jerome Bruandet ~ NinTechNet Ltd. 7 7 Author URI: https://nintechnet.com/ 8 Version: 1.8. 18 Version: 1.8.2 9 9 Network: true 10 10 License: GPLv3 or later … … 13 13 */ 14 14 15 define('CODE_PROFILER_VERSION', '1.8. 1');15 define('CODE_PROFILER_VERSION', '1.8.2'); 16 16 /** 17 17 +=====================================================================+ -
code-profiler/trunk/lib/class-troubleshooter.php
r3270814 r3426010 94 94 $tmp .= ' (writable)'; 95 95 } else { 96 $tmp .= ' (not writable!)' ;96 $tmp .= ' (not writable!)' .' ⚠️'; 97 97 } 98 98 } … … 149 149 $this->buffer[ $key ]['WordPress']['WPMU_PLUGIN_DIR']['writable'] = 150 150 is_writable( WPMU_PLUGIN_DIR ); 151 } 151 152 /** 153 * SAVEQUERIES: make sure it is not set to false. 154 */ 155 if ( defined('SAVEQUERIES') ) { 156 if ( SAVEQUERIES === false ) { 157 $this->buffer[ $key ]['WordPress']['SAVEQUERIES'] = 'FALSE' .' ⚠️'; 158 } else { 159 $this->buffer[ $key ]['WordPress']['SAVEQUERIES'] = SAVEQUERIES; 160 } 161 } else { 162 $this->buffer[ $key ]['WordPress']['SAVEQUERIES'] = 'N/A'; 163 } 164 165 /** 166 * xdebug. 167 */ 168 if ( extension_loaded('xdebug') ) { 169 $this->buffer[ $key ]['Xdebug'] = esc_html__('Extension is loaded', 'code-profiler') .' ⚠️'; 170 } else { 171 $this->buffer[ $key ]['Xdebug'] = '0'; 172 } 173 } 174 152 175 153 176 /** -
code-profiler/trunk/lib/helper.php
r3375722 r3426010 40 40 define('CODE_PROFILER_UPDATE_NOTICE', '<div class="updated notice is-dismissible"><p>%s</p></div>'); 41 41 define('CODE_PROFILER_ERROR_NOTICE', '<div class="error notice is-dismissible"><p>%s</p></div>'); 42 define('CODE_PROFILER_WARNING_NOTICE', '<div class="notice notice-warning"><p>%s</p></div>'); 42 43 if (! defined('CODE_PROFILER_MUPLUGIN') ) { 43 44 // MU plugin's name can be defined in the wp-config.php -
code-profiler/trunk/lib/i18n-extra.php
r3371018 r3426010 35 35 __('%s%% of all functions (plugins and theme)', 'code-profiler'); 36 36 __('Filter: %s', 'code-profiler'); 37 __('Slug', 'code-profiler');38 __('Execution time', 'code-profiler');39 __('Name', 'code-profiler');40 __('Type', 'code-profiler');41 37 __('Caller script', 'code-profiler'); 42 38 __('Backtrace', 'code-profiler'); … … 145 141 __('Remote Connections', 'code-profiler'); 146 142 __('File I/O List', 'code-profiler'); 143 __('Warning: the SAVEQUERIES constant is set to false on your site. Code Profiler will not be able to profile your database queries.', 'code-profiler'); 147 144 __('connection', 'code-profiler'); 148 145 __('connections', 'code-profiler'); -
code-profiler/trunk/lib/menu_profiler.php
r3371018 r3426010 38 38 printf( CODE_PROFILER_ERROR_NOTICE, sprintf( 39 39 esc_html__('The following folder is not writable: %s. Please change its permissions or ownership so that Code Profiler can write to it.', 'code-profiler'), CODE_PROFILER_UPLOAD_DIR ) 40 ); 41 } 42 43 /** 44 * Check and warn if the Xdebug extension is loaded. 45 */ 46 if ( extension_loaded('xdebug') ) { 47 printf( CODE_PROFILER_WARNING_NOTICE, 48 esc_html__('Warning: the PHP Xdebug extension is loaded. Consider disabling it as it can drastically impact the performance and results of Code Profiler.', 'code-profiler') 40 49 ); 41 50 } -
code-profiler/trunk/readme.txt
r3407797 r3426010 3 3 Tags: profiler, debug, optimize, performance, benchmark 4 4 Requires at least: 5.0 5 Tested up to: 6. 96 Stable tag: 1.8. 15 Tested up to: 6.8 6 Stable tag: 1.8.2 7 7 License: GPLv3 or later 8 8 Requires PHP: 7.1 … … 94 94 == Changelog == 95 95 96 = 1.8.2 (23 December 2025) = 97 98 * A warning message will be displayed if the Xdebug extension is loaded as it can impact the profiler's results. 99 * [Pro version] : Code Profiler will warn if SAVEQUERIES has been disabled by the user. 100 96 101 = 1.8.1 (09 Octobre 2025) = 97 102
Note: See TracChangeset
for help on using the changeset viewer.