← All changes
|
modules/theme-tools/content-options/customizer.php
+5
-1
13.9.2
→
16.3-a.1
View file →
| @@ -4,8 +4,12 @@ | ||
| 4 | 4 | * |
| 5 | 5 | * @package automattic/jetpack |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 9 | + exit( 0 ); | |
| 10 | +} | |
| 11 | + | |
| 8 | 12 | if ( ! function_exists( 'jetpack_content_options_customize_register' ) ) { |
| 9 | 13 | |
| 10 | 14 | /** |
| 11 | 15 | * Add Content section to the Theme Customizer. |
| @@ -70,9 +74,9 @@ | ||
| 70 | 74 | |
| 71 | 75 | /** |
| 72 | 76 | * Render the control's content. |
| 73 | 77 | */ |
| 74 | - public function render_content() { // phpcs:ignore MediaWiki.Usage.NestedFunctions.NestedFunction | |
| 78 | + public function render_content() { | |
| 75 | 79 | ?> |
| 76 | 80 | <span class="customize-control-title"><?php echo wp_kses_post( $this->label ); ?></span> |
| 77 | 81 | <?php |
| 78 | 82 | } |