Skip to content

Commit

Permalink
Update translators comment to match WP Core examples. Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxwellGarceau committed Jan 2, 2025
1 parent 957ae1c commit 05fc1a1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mailchimp.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,14 @@
} else {
add_action(
'admin_notices',
function() {
function () {
?>
<div class="notice notice-error">
<p>
<?php
echo wp_kses_post(
sprintf(
/* translators: %1$s is the command that needs to be run. */
/* translators: %2$s is the support URL. */
/* translators: 1: Command to run, e.g., <code>composer install</code>, 2: Support URL, e.g., https://wordpress.org/support/plugin/mailchimp/. */
__( 'The composer autoload file is not found or not readable. Please contact <a href="%2$s" target="_blank">support</a> if you\'re a user. Please run %1$s if you\'re a developer in a development environment.', 'mailchimp' ),
'<code>composer install</code>',
'https://wordpress.org/support/plugin/mailchimp/'
Expand Down

0 comments on commit 05fc1a1

Please sign in to comment.