diff --git a/wp-content/themes/twentytwentyone/inc/template-tags.php b/wp-content/themes/twentytwentyone/inc/template-tags.php index fbd10bcbc0..6c93ead882 100644 --- a/wp-content/themes/twentytwentyone/inc/template-tags.php +++ b/wp-content/themes/twentytwentyone/inc/template-tags.php @@ -110,7 +110,7 @@ if ( ! function_exists( 'twenty_twenty_one_entry_meta_footer' ) ) { } $tags_list = get_the_tag_list( '', wp_get_list_item_separator() ); - if ( $tags_list ) { + if ( $tags_list && ! is_wp_error( $tags_list ) ) { printf( /* translators: %s: List of tags. */ '' . esc_html__( 'Tagged %s', 'twentytwentyone' ) . '', @@ -152,7 +152,7 @@ if ( ! function_exists( 'twenty_twenty_one_entry_meta_footer' ) ) { } $tags_list = get_the_tag_list( '', wp_get_list_item_separator() ); - if ( $tags_list ) { + if ( $tags_list && ! is_wp_error( $tags_list ) ) { printf( /* translators: %s: List of tags. */ '' . esc_html__( 'Tagged %s', 'twentytwentyone' ) . '', diff --git a/wp-includes/version.php b/wp-includes/version.php index e6fcc51c8e..f8ffdbbafe 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-57990'; +$wp_version = '6.6-alpha-57991'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.