PluginProbe ʕ •ᴥ•ʔ
Hustle – Email Marketing, Lead Generation, Optins, Popups / 7.3.7
Hustle – Email Marketing, Lead Generation, Optins, Popups v7.3.7
7.8.13 7.8.13.1 trunk 3.0 3.1 3.1.1 3.1.2 3.1.3 3.1.4 4.3.2 4.4.4 4.4.5 4.4.5.1 4.4.5.4 4.6 4.6.1.1 4.6.1.4 4.7.0.2 4.7.0.3 4.7.0.7 4.7.0.9 4.7.1.0 4.7.1.1 4.8.0.0 5.0.0 5.0.1 5.0.1.1 5.0.1.2 5.1 5.1.1 5.1.2 5.1.3 5.1.3.1 5.1.3.2 5.1.4 5.1.5 6.0 6.0.1 6.0.2 6.0.3 6.0.4.2 6.0.5 6.0.6.1 6.0.7 6.0.8.1 6.0.9 7.0.0.1 7.0.2 7.0.3 7.0.4 7.1.0 7.1.1 7.2.0 7.2.1 7.3.0 7.3.1 7.3.3 7.3.5 7.3.6 7.3.7 7.4.0 7.4.1 7.4.11 7.4.13 7.4.13.1 7.4.2 7.4.3 7.4.4 7.4.5 7.4.5.1 7.4.5.2 7.4.6 7.4.7 7.5.0 7.6.0 7.6.1 7.6.3 7.6.4 7.6.6 7.7.0 7.7.1 7.8.0 7.8.1 7.8.10 7.8.10.1 7.8.10.2 7.8.11 7.8.12 7.8.12.1 7.8.2 7.8.3 7.8.4 7.8.5 7.8.6 7.8.7 7.8.8 7.8.9 7.8.9.1 7.8.9.2 7.8.9.3
wordpress-popup / views / admin / settings / general / debug-mode.php
wordpress-popup / views / admin / settings / general Last commit date
dashboard.php 6 years ago debug-mode.php 5 years ago from-headers.php 6 years ago pagination.php 6 years ago responsiveness.php 5 years ago
debug-mode.php
68 lines
1 <?php
2 /**
3 * Debug section under the "general" tab.
4 *
5 * @package Hustle
6 * @since 4.0.4
7 */
8
9 ?>
10 <div class="sui-box-settings-row">
11
12 <div class="sui-box-settings-col-1">
13 <span class="sui-settings-label"><?php esc_html_e( 'Debug Mode', 'hustle' ); ?></span>
14 <span class="sui-description"><?php esc_html_e( 'Debug mode can help you troubleshoot any issues with your Hustle modules.', 'hustle' ); ?></span>
15 </div>
16
17 <div class="sui-box-settings-col-2">
18
19 <div class="sui-form-field">
20
21 <label
22 for="hustle-debug-enabled"
23 class="sui-toggle hustle-toggle-with-container"
24 data-toggle-on="debug-enabled"
25 >
26
27 <input
28 type="checkbox"
29 name="debug_enabled"
30 value="1"
31 id="hustle-debug-enabled"
32 data-attribute="debug_enabled"
33 aria-labelledby="hustle-debug-enabled-label"
34 aria-describedby="hustle-debug-enabled-description"
35 <?php checked( $settings['debug_enabled'] ); ?>
36 />
37
38 <span class="sui-toggle-slider" aria-hidden="true"></span>
39
40 <span id="hustle-debug-enabled-label" class="sui-toggle-label"><?php esc_html_e( 'Enable Hustle debug mode', 'hustle' ); ?></span>
41
42 <span id="hustle-debug-enabled-description" class="sui-description"><?php esc_html_e( 'Choose whether you want to enable the debug mode or not. It’s recommended to keep it enabled while troubleshooting any issues. When enabled, Hustle will write all the logs in the debug.log file.', 'hustle' ); ?></span>
43
44 </label>
45
46 <div tabindex="0" class="sui-toggle-content" data-toggle-content="debug-enabled">
47
48 <?php
49 $this->get_html_for_options(
50 array(
51 array(
52 'type' => 'inline_notice',
53 'icon' => 'info',
54 /* translators: 1: opening 'strong' tag, 2: closing 'strong' tag. */
55 'value' => sprintf( esc_html__( 'Hustle debug mode requires WordPress debugging to be enabled. So, make sure you have the %1$sWP_DEBUG%2$s, and %1$sWP_DEBUG_LOG%2$s defines set to %1$strue%2$s in your wp-config file.', 'hustle' ), '<strong>', '</strong>' ),
56 ),
57 )
58 );
59 ?>
60
61 </div>
62
63 </div>
64
65 </div>
66
67 </div>
68