From 30b61fc9e8ef1059459921546bca36e991ff8d75 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 2 Jun 2020 17:05:13 +0000 Subject: [PATCH] Bundled Themes: Consistently check for `WP_Error` before outputting `get_the_tag_list()`. Some themes already had these checks in place as a result of [41756], but not others. Props sixhours, davidakennedy, SergeyBiryukov. Fixes #39860. Built from https://develop.svn.wordpress.org/trunk@47886 git-svn-id: http://core.svn.wordpress.org/trunk@47660 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../themes/twentyeleven/content-featured.php | 6 +++--- wp-content/themes/twentyeleven/content-gallery.php | 14 +++++++++----- wp-content/themes/twentyeleven/content-image.php | 13 ++++++++----- wp-content/themes/twentyeleven/content-quote.php | 14 +++++++++----- wp-content/themes/twentyeleven/content-single.php | 8 ++++---- wp-content/themes/twentyeleven/content.php | 6 +++++- .../themes/twentynineteen/inc/template-tags.php | 2 +- wp-content/themes/twentyten/functions.php | 8 +++++--- wp-content/themes/twentyten/loop.php | 7 +++++-- wp-content/themes/twentythirteen/functions.php | 6 +++--- wp-content/themes/twentytwelve/functions.php | 6 +++--- wp-includes/version.php | 2 +- 12 files changed, 56 insertions(+), 36 deletions(-) diff --git a/wp-content/themes/twentyeleven/content-featured.php b/wp-content/themes/twentyeleven/content-featured.php index 7e6e957d30..3ba761dc19 100644 --- a/wp-content/themes/twentyeleven/content-featured.php +++ b/wp-content/themes/twentyeleven/content-featured.php @@ -33,9 +33,9 @@ global $feature_class;