diff options
Diffstat (limited to 'plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-header-title.php')
-rw-r--r-- | plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-header-title.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-header-title.php b/plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-header-title.php index 763aa83a..1b897d6a 100644 --- a/plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-header-title.php +++ b/plugins/jetpack/extensions/blocks/podcast-player/templates/podcast-header-title.php @@ -5,6 +5,8 @@ * @package automattic/jetpack */ +//phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable -- This file expects $template_props set outside the file. + namespace Automattic\Jetpack\Extensions\Podcast_Player; /** @@ -43,7 +45,11 @@ $track_link = empty( $template_props['track']['link'] ) ? $template_props['track <?php endif; // phpcs:enable ?> </span> - <?php if ( ! empty( $template_props['title'] ) ) : ?> + <?php + // phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable -- This file expects $template_props set outside the file. + + if ( ! empty( $template_props['title'] ) ) : + ?> <span class="jetpack-podcast-player--visually-hidden"> - </span> <?php |