Skip to content

Commit 108271b

Browse files
Update src/wp-includes/admin-bar.php
Co-authored-by: Weston Ruter <westonruter@gmail.com>
1 parent fa9e82c commit 108271b

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=wp_admin_bar_command_palette_menu";
983+
$script .= "\n//# sourceURL=" . esc_url_raw( __FUNCTION__ );
984984
$wp_admin_bar->add_node(
985985
array(
986986
'id' => 'command-palette',

0 commit comments

Comments
 (0)