[wp-trac] [WordPress Trac] #44916: Add escape in walker nav menu title

WordPress Trac noreply at wordpress.org
Tue Feb 21 19:02:56 UTC 2023


#44916: Add escape in walker nav menu title
----------------------------------------------+----------------------------
 Reporter:  harshall                          |       Owner:  welcher
     Type:  defect (bug)                      |      Status:  assigned
 Priority:  normal                            |   Milestone:  Awaiting
                                              |  Review
Component:  Menus                             |     Version:
 Severity:  normal                            |  Resolution:
 Keywords:  has-patch needs-unit-tests close  |     Focuses:
----------------------------------------------+----------------------------

Comment (by hellofromTonya):

 I agree with @SergeyBiryukov that historically HTML is allowed in titles.

 Fast forward 4 years, @welcher do you see a use case where the nav menu
 walker should not allow HTML with its title?

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


More information about the wp-trac mailing list