Plugin Directory

Changeset 3316061


Ignore:
Timestamp:
06/23/2025 04:00:21 AM (6 months ago)
Author:
nintechnet
Message:

Adding v1.7.7

Location:
code-profiler/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code-profiler/trunk/index.php

    r3314519 r3316061  
    66Author: Jerome Bruandet ~ NinTechNet Ltd.
    77Author URI: https://nintechnet.com/
    8 Version: 1.7.6
     8Version: 1.7.7
    99Network: true
    1010License: GPLv3 or later
     
    1313*/
    1414
    15 define('CODE_PROFILER_VERSION', '1.7.6');
     15define('CODE_PROFILER_VERSION', '1.7.7');
    1616/**
    1717 +=====================================================================+
  • code-profiler/trunk/lib/class-cli.php

    r3158496 r3316061  
    3131
    3232        $_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';
    3541        // Detect if we're authenticated or not
    3642        if ( is_user_logged_in() === true ) {
     
    284290}
    285291
    286 WP_CLI::add_command('code-profiler', 'CodeProfiler_CLI', ['shortdesc' => __('Profile your blog with Code Profiler.', 'code-profiler') ] );
     292WP_CLI::add_command(
     293    'code-profiler',
     294    'CodeProfiler_CLI',
     295    ['shortdesc' => 'Profile your blog with Code Profiler.']
     296);
    287297
    288298// =====================================================================
  • code-profiler/trunk/readme.txt

    r3314519 r3316061  
    44Requires at least: 5.0
    55Tested up to: 6.8
    6 Stable tag: 1.7.6
     6Stable tag: 1.7.7
    77License: GPLv3 or later
    88Requires PHP: 7.1
     
    9494== Changelog ==
    9595
     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
    96101= 1.7.6 (19 June, 2025) =
    97102
Note: See TracChangeset for help on using the changeset viewer.