[wp-trac] [WordPress Trac] #42288: Validation of custom menu link

WordPress Trac noreply at wordpress.org
Mon Oct 23 04:56:28 UTC 2017


#42288: Validation of custom menu link
--------------------------+------------------------------
 Reporter:  dvirhazout    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Menus         |     Version:  4.8.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  javascript
--------------------------+------------------------------
Changes (by mukesh27):

 * keywords:   => needs-patch


Comment:

 @dvirhazout you are right WordPress core team need to add patch for
 validation or they have to remove validation when anyone add custom menu
 without link.

 Replying to [comment:2 dvirhazout]:
 > If that's the case, I can't understand the motive to this validation
 from the first place.
 >
 > Replying to [comment:1 audrasjb]:
 > > Replying to [ticket:42288 dvirhazout]:
 > >
 > > Hello,
 > > I think that is the desired behavior.
 > > Indeed, a user might need to use an empty anchor (preferably using
 "#").
 > >
 > > For example, this allows a multilevel menu to add some "virtual" (non-
 clickable) levels that only serve to unfold the child levels.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42288#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list