← All changes
|
modules/tiled-gallery/tiled-gallery/tiled-gallery-square.php
+5
-1
12.5.2
→
16.3
View file →
| @@ -1,5 +1,10 @@ | ||
| 1 | 1 | <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName |
| 2 | + | |
| 3 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 4 | + exit( 0 ); | |
| 5 | +} | |
| 6 | + | |
| 2 | 7 | require_once __DIR__ . '/tiled-gallery-layout.php'; |
| 3 | 8 | require_once __DIR__ . '/tiled-gallery-item.php'; |
| 4 | 9 | |
| 5 | 10 | /** |
| @@ -87,5 +92,4 @@ | ||
| 87 | 92 | public function HTML( $context = array() ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable |
| 88 | 93 | return parent::HTML( array( 'rows' => $this->compute_items() ) ); |
| 89 | 94 | } |
| 90 | 95 | } |
| 91 | - | |