Skip to content

Commit

Permalink
Simplify code a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
dkotter committed Jun 28, 2024
1 parent 0734101 commit 05b34b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mailchimp.php
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ function mailchimp_sf_save_general_form_settings() {
**/
function mailchimp_sf_change_list_if_necessary() {
if ( empty( $_POST['mc_list_id'] ) ) {
$msg = '<p class="error_msg">' . esc_html( __( 'Please choose a valid list', 'mailchimp_i18n' ) ) . '</p>';
$msg = '<p class="error_msg">' . esc_html__( 'Please choose a valid list', 'mailchimp' ) . '</p>';
mailchimp_sf_global_msg( $msg );
return;
}
Expand Down

0 comments on commit 05b34b5

Please sign in to comment.