HEX
Server: nginx
System: Linux pool195-106-36.bur.atomicsites.net 6.12.57+deb12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1~bpo12+1 (2025-11-17) x86_64
User: (0)
PHP: 8.3.32
Disabled: pcntl_fork
Upload Files
File: //wordpress/plugins/jetpack/latest/extensions/blocks/podcast-player/templates/podcast-title.php
<?php
/**
 * Podcast Title template.
 *
 * @html-template Automattic\Jetpack\Extensions\Podcast_Player\render
 * @package automattic/jetpack
 */

// phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable -- HTML template, let Phan handle it.

namespace Automattic\Jetpack\Extensions\Podcast_Player;

/**
 * Template variables.
 *
 * @var string $template_props
 */

if ( empty( $template_props['title'] ) ) {
	return;
}

?>
<span class="jetpack-podcast-player__podcast-title">
	<?php if ( ! empty( $template_props['link'] ) ) : ?>
		<a
			class="jetpack-podcast-player__link"
			href="<?php echo esc_url( $template_props['link'] ); ?>"
			target="_blank"
			rel="noopener noreferrer nofollow"
		>
			<?php echo esc_html( $template_props['title'] ); ?>
		</a>
		<?php
		else :
			echo esc_html( $template_props['title'] );
		endif;
		?>
</span>