We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 108271b commit 14add38Copy full SHA for 14add38
1 file changed
src/wp-includes/admin-bar.php
@@ -980,7 +980,7 @@ function wp_admin_bar_command_palette_menu( WP_Admin_Bar $wp_admin_bar ): void {
980
$function,
981
wp_json_encode( $shortcut_labels['appleOS'], JSON_HEX_TAG | JSON_UNESCAPED_SLASHES )
982
);
983
- $script .= "\n//# sourceURL=" . esc_url_raw( __FUNCTION__ );
+ $script .= "\n//# sourceURL=" . rawurlencode( __FUNCTION__ );
984
$wp_admin_bar->add_node(
985
array(
986
'id' => 'command-palette',
0 commit comments