[wp-trac] [WordPress Trac] #57313: Adding a menu item without a link URL should not add a broken HTML a tag

WordPress Trac noreply at wordpress.org
Mon Dec 12 21:03:22 UTC 2022


#57313: Adding a menu item without a link URL should not add a broken HTML a tag
--------------------------+------------------------------
 Reporter:  cliffpaulick  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Menus         |     Version:  6.1.1
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:
--------------------------+------------------------------

Comment (by cliffpaulick):

 I agree empty `a` tag is not invalid HTML. I like the idea of consistent
 validation but would then also like to see an enhancement ticket added for
 the ability to add plain text items to the menu, if you don't mind
 proceeding with both ends of this ticket as it is now. tyvm

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


More information about the wp-trac mailing list