PluginProbe
Code Profiler – WordPress Performance Profiling and Debugging Made Easy / trunk
Code Profiler – WordPress Performance Profiling and Debugging Made Easy vtrunk
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 / menu_support.php

menu_support.php in Code Profiler – WordPress Performance Profiling and Debugging Made Easy trunk, at lib/menu_support.php

46 lines 1.7 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://nintechnet.com/codeprofiler/ |
11 +=====================================================================+
12 */
13
14 if (! defined('ABSPATH') ) {
15 die('Forbidden');
16 }
17
18 // =====================================================================
19 // Display the profiler's support page.
20
21 if ( defined('CODE_PROFILER_TEXTAREA_HEIGHT') ) {
22 $th = (int) CODE_PROFILER_TEXTAREA_HEIGHT;
23 } else {
24 $th = '450';
25 }
26
27 echo code_profiler_display_tabs( 6 );
28 ?>
29 <br />
30 <p><?php esc_html_e('When contacting the support for help, please copy and paste the system information report below in your ticket:', 'code-profiler') ?></p>
31 <table class="form-table">
32 <tr>
33 <td>
34 <textarea dir="auto" id="cp-troubleshooter" class="large-text code" style="height:<?php echo $th; ?>px;" wrap="off" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"><?php
35 require_once __DIR__ .'/class-troubleshooter.php';
36 new CP_Troubleshooter();
37 ?></textarea>
38 <p><input type="button" onClick="cpjs_copy_textarea('cp-troubleshooter')" class="button button-secondary" value="<?php esc_attr_e('Copy text', 'code-profiler') ?>" /></p>
39 </td>
40 </tr>
41 </table>
42 <?php
43
44 // =====================================================================
45 // EOF
46