Skip to content

Commit 766c557

Browse files
Trolling?
Co-Authored-By: westonruter <westonruter@git.wordpress.org>
1 parent 7eb0d9b commit 766c557

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/admin-bar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ function wp_admin_bar_command_palette_menu( WP_Admin_Bar $wp_admin_bar ): void {
980980
$function,
981981
wp_json_encode( $shortcut_labels['appleOS'], JSON_HEX_TAG | JSON_UNESCAPED_SLASHES )
982982
);
983-
$script .= "\n//# sourceURL=" . esc_url_raw( __FUNCTION__ );
983+
$script .= "\n//# sourceURL=" . rawurlencode( __FUNCTION__ );
984984
$wp_admin_bar->add_node(
985985
array(
986986
'id' => 'command-palette',

0 commit comments

Comments
 (0)