Skip to content

Commit 44a1f56

Browse files
committed
Revert the change to heredoc indentation
1 parent de8090f commit 44a1f56

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/wp-includes/class-wp-script-modules.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -394,12 +394,12 @@ public function print_script_module_translations(): void {
394394
}
395395

396396
$output = <<<JS
397-
( ( domain, translations ) => {
398-
const localeData = translations.locale_data[ domain ] || translations.locale_data.messages;
399-
localeData[""].domain = domain;
400-
wp.i18n.setLocaleData( localeData, domain );
401-
} )( "{$domain}", {$json_translations} );
402-
JS;
397+
( ( domain, translations ) => {
398+
const localeData = translations.locale_data[ domain ] || translations.locale_data.messages;
399+
localeData[""].domain = domain;
400+
wp.i18n.setLocaleData( localeData, domain );
401+
} )( "{$domain}", {$json_translations} );
402+
JS;
403403

404404
$source_url = rawurlencode( "{$id}-js-module-translations" );
405405
$output .= "\n//# sourceURL={$source_url}";

0 commit comments

Comments
 (0)