Code Duplication    Length = 9-9 lines in 2 locations

includes/class-wp-php-console-settings.php 2 locations

@@ 213-221 (lines=9) @@
210
	 *
211
	 * @since 1.5.0
212
	 */
213
	public function ssl_field() {
214
215
		?>
216
		<input type="checkbox" id="wp-php-console-ssl" name="wp_php_console[ssl]" value="1" <?php checked( (bool) $this->options['ssl'] ); ?> />
217
		<label for="wp-php-console-ssl"><?php esc_html_e( 'Yes', 'wp-php-console' ); ?></label><br>
218
		<p class="description"><?php esc_html_e( 'Tick this option if you want the eval terminal to work only on a SSL connection.', 'wp-php-console' ); ?></p>
219
		<?php
220
221
	}
222
223
224
	/**
@@ 284-292 (lines=9) @@
281
	 *
282
	 * @since 1.5.0
283
	 */
284
	public function stack_field() {
285
286
		?>
287
		<input type="checkbox" id="wp-php-console-stack" name="wp_php_console[stack]" value="1" <?php checked( (bool) $this->options['stack'] ); ?> />
288
		<label for="wp-php-console-stack"><?php esc_html_e( 'Yes', 'wp-php-console' ); ?></label><br />
289
		<p class="description"><?php esc_html_e( 'Tick to see the full call stack when PHP Console writes to the browser JavaScript console.', 'wp-php-console' ); ?></p>
290
		<?php
291
292
	}
293
294
295
	/**