PluginProbe
Code Profiler – WordPress Performance Profiling and Debugging Made Easy / 1.6
Code Profiler – WordPress Performance Profiling and Debugging Made Easy v1.6
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
← All changes | lib/menu_view_profile.php +2 -10 1.51.6 View file →
@@ -10,9 +10,9 @@
10 10 | (c) Jerome Bruandet ~ https://code-profiler.com/ |
11 11 +=====================================================================+
12 12 */
13 13
14 -if (! defined( 'ABSPATH' ) ) { die( 'Forbidden' ); }
14 +if (! defined( 'ABSPATH' ) ) { die('Forbidden'); }
15 15
16 16 // =====================================================================
17 17 // Display selected profile.
18 18
@@ -128,9 +128,9 @@
128 128
129 129 }
130 130
131 131 if ( isset( $buffer['error'] ) ) {
132 - echo code_profiler_buffer_error( $buffer['error'] );
132 + echo $buffer['error'];
133 133 return;
134 134 }
135 135
136 136 if ( $section == 4 ) { return; }
@@ -198,15 +198,7 @@
198 198 </div>
199 199 </div>
200 200
201 201 <?php
202 -
203 -// =====================================================================
204 -
205 -function code_profiler_buffer_error( $error ) {
206 -
207 - return $error;
208 -
209 -}
210 202
211 203 // =====================================================================
212 204 // EOF