Skip to content

Conversation

@t-hamano
Copy link
Contributor

@t-hamano t-hamano commented Nov 1, 2025

Closes https://core.trac.wordpress.org/ticket/64177

What? Why?

The Command Palette automatically registers navigation commands based on the global variables $menu and $submenu. The menu_page_url() function uses esc_url internally, so the escaped HTML entities need to be decoded for correct navigation.

How?

Add html_entity_decode().

Testing Instructions

@t-hamano t-hamano self-assigned this Nov 1, 2025
@t-hamano t-hamano added [Type] Bug An existing feature does not function as intended Backport to WP 6.9 Beta/RC Pull request that needs to be backported to the WordPress major release that's currently in beta [Feature] Command Palette labels Nov 1, 2025
@t-hamano t-hamano marked this pull request as ready for review November 1, 2025 04:42
@github-actions
Copy link

github-actions bot commented Nov 1, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: t-hamano <wildworks@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@github-actions
Copy link

github-actions bot commented Nov 1, 2025

Flaky tests detected in 1fd0b19.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/18991547597
📝 Reported issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport to WP 6.9 Beta/RC Pull request that needs to be backported to the WordPress major release that's currently in beta [Feature] Command Palette [Type] Bug An existing feature does not function as intended

2 participants