PluginProbe
Code Profiler – WordPress Performance Profiling and Debugging Made Easy / 1.4
Code Profiler – WordPress Performance Profiling and Debugging Made Easy v1.4
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.4, at lib/mu.plugin

30 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 URI: https://code-profiler.com/
13 Description: Code Profiler's loader. Do not remove.
14 Version: 1.0
15 Author: Jerome Bruandet
16 Author URI: https://code-profiler.com/
17 License: GPLv3 or later
18 */
19 define('CODE_PROFILER_MU_ON', true);
20 if ( isset( $_REQUEST['CODE_PROFILER_ON'] ) &&
21 preg_match( '/^\d{10}\.\d+$/', $_REQUEST['CODE_PROFILER_ON'] ) ) {
22
23 include_once WP_PLUGIN_DIR .'/code-profiler/lib/helper.php';
24 code_profiler_verify_key();
25 code_profiler_disable_opcode();
26 include_once WP_PLUGIN_DIR .'/code-profiler/lib/class-profiler.php';
27 }
28 // =====================================================================
29 // EOF
30