[wp-trac] [WordPress Trac] #40607: The slug of a menu-item of type "Custom Links" interferes with pages/posts slugs.

WordPress Trac noreply at wordpress.org
Sat Apr 29 16:02:49 UTC 2017


#40607: The slug of a menu-item of type "Custom Links" interferes with pages/posts
slugs.
----------------------------+-----------------------------
 Reporter:  Karimeo         |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 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 ?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40607>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list