[wp-trac] [WordPress Trac] #64177: Command Palette: Encoded ampersands in URLs

WordPress Trac noreply at wordpress.org
Tue Nov 4 12:30:44 UTC 2025


#64177: Command Palette: Encoded ampersands in URLs
--------------------------+------------------------
 Reporter:  swissspidy    |       Owner:  wildworks
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.9
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------

Comment (by wildworks):

 @dmsnell Thanks for the PR! If I understand correctly, do I need to
 address the following two points?

 - Escape `$menu_slug` beforehand
 - Use `WP_HTML_Decoder::decode_attribute()` instead of
 `html_entity_decode()`.

 If that's the case, I'd like to work to ensure we meet the deadline for
 RC1.

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


More information about the wp-trac mailing list