Opened 5 weeks ago
Closed 5 weeks ago
#65437 closed defect (bug) (wontfix)
WordPress 7.0 Un-clickable links no longer allowed
| Reported by: | intowernet | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Menus | Version: | 6.8 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Using the usual method of creating an item in the menu that acts a header for submenus and then removing the link no longer works. After the link is created WordPress will not allow you to remove the link without replacing it with another link. We now have to give the link a special class and add css to prevent it from being an active link. I believe this is a bug.
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This is an intentional change, ensuring that the data checking is the same across different mechanisms for creating menus.
If you need your menu items to be presented in some way other than as a link, you should modify those on the front-end, either using a filter or JavaScript.
This change is not new to 7.0, it was actually made in version 6.8; see #60969. It was published in the miscellaneous dev note in March 2025
I'm going to close this, as the change was intentional and documented as such.