[wp-trac] [WordPress Trac] #64177: Command Palette: Encoded ampersands in URLs
WordPress Trac
noreply at wordpress.org
Fri Oct 31 10:10:20 UTC 2025
#64177: Command Palette: Encoded ampersands in URLs
--------------------------+--------------------
Reporter: swissspidy | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.9
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+--------------------
I noticed a bug with the Command Palette in 6.9 while testing it with the
Web Stories plugin.
That plugin has a React app with some sub-pages, the routing looks like
so: `wp-admin/edit.php?post_type=web-story&page=stories-dashboard
#/templates-gallery`
In the command palette, these URLs are broken because the ampersand is
encoded: `wp-admin/edit.php?post_type=web-story&page=stories-
dashboard#/templates-gallery`
Thus, one cannot navigate to those URLs using the command palette.
Looks like this would need to be fixed in
`wp_enqueue_command_palette_assets()`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64177>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list