Skip to content

Commit

Permalink
Fix: The "Welcome Banner" was not displayed translated (#7371)
Browse files Browse the repository at this point in the history
  • Loading branch information
DAnn2012 authored Apr 30, 2024
1 parent 0f3e791 commit 3ebee40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Promotions/WelcomeBanner/WelcomeBanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ public function loadScripts(): void
]
);

wp_set_script_translations( 'givewp-welcome-banner', 'give' );

wp_enqueue_style('givewp-design-system-foundation');
wp_enqueue_style('givewp-admin-fonts');
}
Expand Down

0 comments on commit 3ebee40

Please sign in to comment.