#40607 closed defect (bug) (worksforme)
The slug of a menu-item of type "Custom Links" interferes with pages/posts slugs.
Reported by: | Karimeo | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Permalinks | Keywords: | |
Focuses: | administration | Cc: |
Description
How to reproduce:
- Add a menu-item of type "Custom Links" to a menu. Let's say with content "URL = http://google.com / Link Text = Google"
- Create a page with the same name as the "Link Text" used. In the example with Google, the slug "google" will be taken and "google-2" will be used.
My suggestion would be to just add "-menu" to the slugs of such menu-items as they are not visible anyway ?
Change History (3)
Note: See
TracTickets for help on using
tickets.
@Karimeo Hi and thanks for the report!
Please try again with the latest WordPress version (5.4.1). It somehow worked for me, so this may have been solved another way.
Custom menu link:
Page created after menu item with same slug: