← All changes
|
extensions/blocks/podcast-player/templates/playlist-track.php
+6
-1
12.4.2
→
16.3
View file →
| @@ -1,14 +1,19 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * Podcast Title template. |
| 4 | 4 | * |
| 5 | + * @html-template Automattic\Jetpack\Extensions\Podcast_Player\render | |
| 5 | 6 | * @package automattic/jetpack |
| 6 | 7 | */ |
| 7 | 8 | |
| 8 | -// phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable -- This file expects $template_props set outside the file. | |
| 9 | +// phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable -- HTML template, let Phan handle it. | |
| 9 | 10 | |
| 10 | 11 | namespace Automattic\Jetpack\Extensions\Podcast_Player; |
| 12 | + | |
| 13 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 14 | + exit( 0 ); | |
| 15 | +} | |
| 11 | 16 | |
| 12 | 17 | /** |
| 13 | 18 | * Template variables. |
| 14 | 19 | * |