[wp-trac] [WordPress Trac] #64233: Command Palette: Use WP_HTML_Processor and WP_HTML_Decoder for menu labels and URLs

WordPress Trac noreply at wordpress.org
Tue Nov 11 14:24:08 UTC 2025


#64233: Command Palette: Use WP_HTML_Processor and WP_HTML_Decoder for menu labels
and URLs
--------------------------+--------------------
 Reporter:  wildworks     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  7.0
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+--------------------
 There is logic that generates menu labels and menu URLs by referencing the
 global variables `menu` and `submenu`, and registers them as commands.
 This is working correctly, but there are two areas that could be improved.

 === Use WP_HTML_Processorfor menu labels

 See: https://core.trac.wordpress.org/ticket/64177#comment:10

 === Use WP_HTML_Decoder for URLs

 See: https://core.trac.wordpress.org/ticket/64196#comment:11

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


More information about the wp-trac mailing list