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

WordPress Trac noreply at wordpress.org
Fri Oct 20 05:38:05 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        |   Keywords:
  Focuses:  javascript    |
--------------------------+-----------------------------
 1. go to menus page
 2. try to add custom menu link with label only. without a URL.

 expected and actual result: validation failed and link cannot be added.

 1. go to menus page
 2. add custom menu link with label and URL: '#'
 3. save menu
 4. edit the custom link from the menu and remove the URL.
 5. click save

 expected result: validation failed and menu won't be saved.
 actual result: menu saved. no validation.

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


More information about the wp-trac mailing list