← All changes
|
modules/tiled-gallery/tiled-gallery/templates/circle-layout.php
+4
-0
13.5.2
→
16.3
View file →
| @@ -5,7 +5,11 @@ | ||
| 5 | 5 | * @html-template Jetpack_Tiled_Gallery_Layout::template |
| 6 | 6 | * @package automattic/jetpack |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 10 | + exit( 0 ); | |
| 11 | +} | |
| 12 | + | |
| 9 | 13 | // phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable -- Defined by the caller. Let Phan handle it. |
| 10 | 14 | |
| 11 | 15 | $this->template( 'square-layout', $context ); |