From ffd5d37c7784d17922b0daf4d5f368271d11f471 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 2 Jun 2020 17:03:06 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@47886 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentyeleven/content-featured.php | 6 +++--- .../themes/twentyeleven/content-gallery.php | 14 +++++++++----- .../themes/twentyeleven/content-image.php | 13 ++++++++----- .../themes/twentyeleven/content-quote.php | 14 +++++++++----- .../themes/twentyeleven/content-single.php | 8 ++++---- src/wp-content/themes/twentyeleven/content.php | 6 +++++- .../themes/twentynineteen/inc/template-tags.php | 2 +- src/wp-content/themes/twentyten/functions.php | 8 +++++--- src/wp-content/themes/twentyten/loop.php | 7 +++++-- src/wp-content/themes/twentythirteen/functions.php | 6 +++--- src/wp-content/themes/twentytwelve/functions.php | 6 +++--- 11 files changed, 55 insertions(+), 35 deletions(-) diff --git a/src/wp-content/themes/twentyeleven/content-featured.php b/src/wp-content/themes/twentyeleven/content-featured.php index 7e6e957d30..3ba761dc19 100644 --- a/src/wp-content/themes/twentyeleven/content-featured.php +++ b/src/wp-content/themes/twentyeleven/content-featured.php @@ -33,9 +33,9 @@ global $feature_class;