Skip to content

Commit ee48ad6

Browse files
committed
Easier to read, in my humble o
1 parent e27e056 commit ee48ad6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/wp-includes/admin-bar.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,11 @@ function wp_admin_bar_command_palette_menu( WP_Admin_Bar $wp_admin_bar ): void {
975975
}
976976
}
977977
JS;
978-
$script = sprintf( '( %s )( %s );', $function, wp_json_encode( $shortcut_labels, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ) );
978+
$script = sprintf(
979+
'( %s )( %s );',
980+
$function,
981+
wp_json_encode( $shortcut_labels, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES )
982+
);
979983
$script .= "\n//# sourceURL=wp_admin_bar_command_palette_menu";
980984
$wp_admin_bar->add_node(
981985
array(

0 commit comments

Comments
 (0)