PluginProbe
Code Profiler – WordPress Performance Profiling and Debugging Made Easy / 1.5.2
Code Profiler – WordPress Performance Profiling and Debugging Made Easy v1.5.2
1.9.5 1.9.4 1.9.3 trunk 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.6 1.6.1 1.6.10 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 All 40 releases
code-profiler / lib / mu.plugin

mu.plugin in Code Profiler – WordPress Performance Profiling and Debugging Made Easy 1.5.2, at lib/mu.plugin

31 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 +=====================================================================+
4 | ____ _ ____ __ _ _ |
5 | / ___|___ __| | ___ | _ \ _ __ ___ / _(_) | ___ _ __ |
6 | | | / _ \ / _` |/ _ \ | |_) | '__/ _ \| |_| | |/ _ \ '__| |
7 | | |__| (_) | (_| | __/ | __/| | | (_) | _| | | __/ | |
8 | \____\___/ \__,_|\___| |_| |_| \___/|_| |_|_|\___|_| |
9 | |
10 | (c) Jerome Bruandet ~ https://code-profiler.com/ |
11 +=====================================================================+
12 Plugin Name: Code Profiler (mu-plugin)
13 Plugin URI: https://code-profiler.com/
14 Description: Code Profiler's loader. Do not remove.
15 Version: 1.0
16 Author: Jerome Bruandet
17 Author URI: https://code-profiler.com/
18 License: GPLv3 or later
19 */
20 define('CODE_PROFILER_MU_ON', true);
21 if ( isset( $_REQUEST['CODE_PROFILER_ON'] ) &&
22 preg_match('/^\d{10}\.\d+$/', $_REQUEST['CODE_PROFILER_ON'] ) ) {
23
24 include_once WP_PLUGIN_DIR .'/code-profiler/lib/helper.php';
25 code_profiler_verify_key();
26 code_profiler_disable_opcode();
27 include_once WP_PLUGIN_DIR .'/code-profiler/lib/class-profiler.php';
28 }
29 // =====================================================================
30 // EOF
31