From b218bbe461b38459455a3d77c9490e4eaa0df003 Mon Sep 17 00:00:00 2001 From: Sukhendu Sekhar Guria Date: Tue, 25 Mar 2025 15:40:54 +0530 Subject: [PATCH 01/10] Fix empty markup when site title or description is empty --- src/wp-content/themes/twentyeleven/header.php | 10 ++++++- .../themes/twentyfifteen/header.php | 29 ++++++++++--------- .../themes/twentyfourteen/header.php | 4 ++- .../template-parts/header/site-branding.php | 19 +++++++----- .../themes/twentysixteen/header.php | 11 +++++-- src/wp-content/themes/twentyten/header.php | 12 ++++++-- .../themes/twentythirteen/header.php | 11 ++++++- src/wp-content/themes/twentytwelve/header.php | 6 ++++ .../themes/twentytwenty/inc/template-tags.php | 5 ++++ 9 files changed, 79 insertions(+), 28 deletions(-) diff --git a/src/wp-content/themes/twentyeleven/header.php b/src/wp-content/themes/twentyeleven/header.php index 3ab6df9fd9926..864ee3a6541e4 100644 --- a/src/wp-content/themes/twentyeleven/header.php +++ b/src/wp-content/themes/twentyeleven/header.php @@ -78,9 +78,17 @@
- + + +

>

+ + +

+
-

>

- -

>

- -

- > + +

>

+ +

+
diff --git a/src/wp-content/themes/twentyfourteen/header.php b/src/wp-content/themes/twentyfourteen/header.php index 945824853ae06..15124dcfe5180 100644 --- a/src/wp-content/themes/twentyfourteen/header.php +++ b/src/wp-content/themes/twentyfourteen/header.php @@ -50,7 +50,9 @@