Make WordPress Core

Opened 5 weeks ago

Last modified 5 weeks ago

#60996 new defect (bug)

WordPress 6.5.2 displays multiple h1 - wp_link_dialog is displayed

Reported by: vousys's profile vousys Owned by:
Milestone: Awaiting Review Priority: normal
Severity: major Version: 6.5
Component: Editor Keywords: needs-patch reporter-feedback
Focuses: Cc:


file: wp-includes/class-wp-editor.php
line: 1867
This function: wp_link_dialog is being displayed on the frontend causing multiple h1 tags on the same page

Change History (3)

#1 @jorbin
5 weeks ago

  • Keywords reporter-feedback added

hi @vousys, welcome to WordPress Trac. I'm not able to replicate this using one of the default themes and no plugins and looking at the homepage and an article page. Can you please provide some more detailed steps to reproduce?

#2 @sabernhardt
5 weeks ago

Possibly related: #46918

#3 @vousys
5 weeks ago

  • Summary changed from WordPress 6.5.2 displays to WordPress 6.5.2 displays multiple h1 - wp_link_dialog is displayed

Hi guys, thanks for you reply.
Yes it's related in part with the ticket mentioned, but it's happening on the frontend, that's what caught my attention when ahref-site audit run today and informed us that we've multiple h1 tags on pages. The only thing I did yesterday was updating to Version 6.5.2 and updating all plugins after that.
To solve my issue for now, I've re-update to version 6.5.2 but as the problem wasn't solve, I've edited the file mentioned by changing the <h1> per <h3> just to avoid SEO mistakes. I don't understand why this function is being populate on the frontend publishing this div:
<div id="wp-link-backdrop" style="display: none">

Note: See TracTickets for help on using tickets.