From 85d526c5d052014e9e164537ebf5569452b6d0a2 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 1 May 2021 18:14:05 +0000 Subject: [PATCH] Twenty Twenty-One: Display page title as the H1 heading when a static page is selected as the "Posts page". This ensures that the heading represents the content of the page. Previously, the site title was displayed instead. Props sabernhardt, justinahinon, rianrietveld, mukesh27, francina, audrasjb, Boniu91. Fixes #52938. Built from https://develop.svn.wordpress.org/trunk@50802 git-svn-id: http://core.svn.wordpress.org/trunk@50411 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwentyone/index.php | 8 +++++++- .../template-parts/header/site-branding.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/wp-content/themes/twentytwentyone/index.php b/wp-content/themes/twentytwentyone/index.php index 2a4b1291ac..6829eeed9f 100644 --- a/wp-content/themes/twentytwentyone/index.php +++ b/wp-content/themes/twentytwentyone/index.php @@ -14,7 +14,13 @@ * @since Twenty Twenty-One 1.0 */ -get_header(); +get_header(); ?> + + + +

- +

diff --git a/wp-includes/version.php b/wp-includes/version.php index 100a863c24..fb37f0dd9e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-50801'; +$wp_version = '5.8-alpha-50802'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.