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