We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d99f00 commit 0185911Copy full SHA for 0185911
1 file changed
src/wp-includes/class-wp-script-modules.php
@@ -402,14 +402,14 @@ public function print_script_module_translations(): void {
402
continue;
403
}
404
405
- $output = sprintf(
+ $output = sprintf(
406
'( %s )( %s, %s );',
407
$set_locale_data_js_function,
408
wp_json_encode( $domain, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ),
409
$json_translations
410
);
411
- $script_id = "wp-script-module-translation-data-{$id}";
412
- $output .= "\n//# sourceURL=" . rawurlencode( $script_id );
+ $script_id = "wp-script-module-translation-data-{$id}";
+ $output .= "\n//# sourceURL=" . rawurlencode( $script_id );
413
414
// Ensure wp-i18n is printed; the inline script below relies on wp.i18n.setLocaleData().
415
if ( ! wp_script_is( 'wp-i18n', 'done' ) ) {
0 commit comments