From ccc066d68c64cd27c26ffc88a0b5ae691d410573 Mon Sep 17 00:00:00 2001 From: Ryan Kienstra Date: Thu, 15 Feb 2018 11:56:50 -0600 Subject: [PATCH] Issue #841: Move ternaary conditionals inside escaping functions. Before, the output was only escaped if the value was set. Also, remove the isset() check for $title. As Weston mentioned, this is always a string. --- includes/embeds/class-amp-playlist-embed-handler.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/embeds/class-amp-playlist-embed-handler.php b/includes/embeds/class-amp-playlist-embed-handler.php index af1d5e16f07..0442de74c41 100644 --- a/includes/embeds/class-amp-playlist-embed-handler.php +++ b/includes/embeds/class-amp-playlist-embed-handler.php @@ -145,10 +145,10 @@ public function audio_playlist() {
- +
- + @@ -197,7 +197,7 @@ public function video_playlist() { - + tracks( 'video', $playlist ); ?> -
- - +