[wp-trac] [WordPress Trac] #44656: Multiple themes: Empty site title leaves empty anchor tag in header
WordPress Trac
noreply at wordpress.org
Tue May 20 22:12:39 UTC 2025
#44656: Multiple themes: Empty site title leaves empty anchor tag in header
-------------------------------------------------+-------------------------
Reporter: tsquez | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.9
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: has-patch has-test-info changes- | Focuses:
requested | accessibility
-------------------------------------------------+-------------------------
Changes (by SirLouen):
* keywords: has-patch has-test-info needs-testing => has-patch has-test-
info changes-requested
Comment:
== Test Report
=== Description
🟠 This report validates that the indicated patch works as expected with
one caveat (check Additional Notes)
Patch tested: REPLACE_WITH_PATCH_URL
=== Environment
- WordPress: 6.9-alpha-60093-src
- PHP: 8.2.28
- Server: nginx/1.27.5
- Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
- Browser: Chrome 136.0.0.0
- OS: Windows 10/11
- Theme: ***
- MU Plugins: None activated
- Plugins:
* Test Reports 1.2.0
*** Tested Themes:
1. Twenty Ten 4.4
2. Twenty Eleven 4.9
3. Twenty Twelve 4.5
4. Twenty Thirteen 4.4
5. Twenty Fourteen 4.2
6. Twenty Fifteen 4.0
7. Twenty Sixteen 3.5
8. Twenty Seventeen 3.9
9. Twenty Twenty 2.9
=== Reproduction Steps
1. In Settings > General > Remove the Site Title and the Tag Line
2. Go to the home page
3. Check HTML code and see if you can find an `<h1>` with the title and in
some themes an `<h2>` or `<div>` with the Tag line
4. 🐞 Found `h1` in all 9 themes, `<h2>` not in all themes only 2011, 2012
and 2013 and `<div>` only in 2010
=== Actual Results
1. 🟠 Issue resolved with patch in all 9 themes, but code could be a
little improved
=== Additional Notes
- @sukhendu2002, I've requested some changes in
[https://github.com/WordPress/wordpress-develop/pull/8582/ PR 8582] to
improve the code.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44656#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list