Changeset 3316061
- Timestamp:
- 06/23/2025 04:00:21 AM (6 months ago)
- Location:
- code-profiler/trunk
- Files:
-
- 3 edited
-
index.php (modified) (2 diffs)
-
lib/class-cli.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
code-profiler/trunk/index.php
r3314519 r3316061 6 6 Author: Jerome Bruandet ~ NinTechNet Ltd. 7 7 Author URI: https://nintechnet.com/ 8 Version: 1.7. 68 Version: 1.7.7 9 9 Network: true 10 10 License: GPLv3 or later … … 13 13 */ 14 14 15 define('CODE_PROFILER_VERSION', '1.7. 6');15 define('CODE_PROFILER_VERSION', '1.7.7'); 16 16 /** 17 17 +=====================================================================+ -
code-profiler/trunk/lib/class-cli.php
r3158496 r3316061 31 31 32 32 $_POST['cp_nonce'] = wp_create_nonce('start_profiler_nonce'); 33 $_POST['post'] = home_url( '/' ); 34 $_POST['where'] = 'frontend'; 33 34 $_POST['post'] = home_url( '/' ); 35 // Mark the connection as 'HTTPS' if needed. 36 if ( strtolower( parse_url( $_POST['post'], PHP_URL_SCHEME ) ) == 'https') { 37 $_SERVER['HTTPS'] = 'on'; 38 } 39 40 $_POST['where'] = 'frontend'; 35 41 // Detect if we're authenticated or not 36 42 if ( is_user_logged_in() === true ) { … … 284 290 } 285 291 286 WP_CLI::add_command('code-profiler', 'CodeProfiler_CLI', ['shortdesc' => __('Profile your blog with Code Profiler.', 'code-profiler') ] ); 292 WP_CLI::add_command( 293 'code-profiler', 294 'CodeProfiler_CLI', 295 ['shortdesc' => 'Profile your blog with Code Profiler.'] 296 ); 287 297 288 298 // ===================================================================== -
code-profiler/trunk/readme.txt
r3314519 r3316061 4 4 Requires at least: 5.0 5 5 Tested up to: 6.8 6 Stable tag: 1.7. 66 Stable tag: 1.7.7 7 7 License: GPLv3 or later 8 8 Requires PHP: 7.1 … … 94 94 == Changelog == 95 95 96 = 1.7.7 (23 June, 2025) = 97 98 * Fixed an issue where the profiler wasn't able to detect if the connection was over HTTPS when running WP CLI. 99 * Fixed a potential "Function _load_textdomain_just_in_time was called incorrectly" notice when running WP CLI. 100 96 101 = 1.7.6 (19 June, 2025) = 97 102
Note: See TracChangeset
for help on using the changeset viewer.