From fd0728c8d7ddfefec3a1a482badadce2ce763c7b Mon Sep 17 00:00:00 2001 From: Josh Date: Fri, 17 Oct 2025 12:16:11 +0200 Subject: [PATCH] Fixed too many H1's issue --- .dev/tests/php/test-template-tags.php | 2 +- includes/template-tags.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.dev/tests/php/test-template-tags.php b/.dev/tests/php/test-template-tags.php index a0f7ef15..b755d9d5 100644 --- a/.dev/tests/php/test-template-tags.php +++ b/.dev/tests/php/test-template-tags.php @@ -1439,7 +1439,7 @@ public function test_site_branding_custom_logo_h1() { set_theme_mod( 'custom_logo', $featured_image_id ); - $this->expectOutputRegex( '/

(]*)(.*\/>)<\/a><\/h1>/' ); + $this->expectOutputRegex( '/