>
-
-
is_installed()) {
- echo sprintf('%s', esc_attr(add_query_arg(array( 'integration' => $integration->slug ))), esc_html__('Configure this integration', 'mailchimp-for-wp'), $integration->name);
+ $href = esc_attr(add_query_arg(array( 'integration' => $integration->slug )));
+ $title = esc_attr__('Configure this integration', 'mailchimp-for-wp');
+ echo "{$integration->name}";
} else {
- echo $integration->name;
+ echo esc_html($integration->name);
}
?>
-
-
|
-
|
@@ -64,7 +56,6 @@ function _mc4wp_integrations_table($integrations)
|
-
-
-
Mailchimp for WordPress ›
@@ -104,10 +93,7 @@ function _mc4wp_integrations_table($integrations)
-
-
-
Mailchimp for WordPress:
@@ -119,24 +105,15 @@ function _mc4wp_integrations_table($integrations)
-
-
-
-
diff --git a/includes/views/parts/admin-sidebar.php b/includes/views/parts/admin-sidebar.php
index a51d9681..89c12730 100755
--- a/includes/views/parts/admin-sidebar.php
+++ b/includes/views/parts/admin-sidebar.php
@@ -32,22 +32,16 @@ function _mc4wp_admin_sidebar_other_plugins()
// Koko Analytics
echo '';
- echo sprintf('Koko Analytics ', 'https://wordpress.org/plugins/koko-analytics/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=sidebar');
+ echo 'Koko Analytics ';
echo esc_html__('Privacy-friendly analytics plugin that does not use any external services.', 'mailchimp-for-wp');
echo '';
// Boxzilla
echo '';
- echo sprintf('Boxzilla Pop-ups ', 'https://wordpress.org/plugins/boxzilla/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=sidebar');
+ echo 'Boxzilla Pop-ups ';
echo esc_html__('Pop-ups or boxes that slide-in with a newsletter sign-up form. A sure-fire way to grow your email lists.', 'mailchimp-for-wp');
echo '';
- // HTML Forms
- echo '';
- echo sprintf('HTML Forms ', 'https://wordpress.org/plugins/html-forms/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=sidebar');
- echo esc_html__('Super flexible forms using native HTML. Just like Mailchimp for WordPress forms but for other purposes, like a contact form.', 'mailchimp-for-wp');
- echo '';
-
echo '';
echo '';
}
diff --git a/includes/views/parts/lists-overview.php b/includes/views/parts/lists-overview.php
index 25095d53..8ea847b3 100755
--- a/includes/views/parts/lists-overview.php
+++ b/includes/views/parts/lists-overview.php
@@ -1,13 +1,11 @@
-
@@ -19,8 +17,7 @@
.
' . esc_html__('A total of %d lists were found in your Mailchimp account.', 'mailchimp-for-wp') . '', count($lists));
-
+ echo '', sprintf(esc_html__('A total of %d lists were found in your Mailchimp account.', 'mailchimp-for-wp'), count($lists)), ' ';
echo '';
$headings = array(
@@ -32,27 +29,31 @@
echo '';
echo '';
foreach ($headings as $heading) {
- echo sprintf('%s | ', $heading);
+ echo '', $heading, ' | ';
}
echo ' ';
echo '';
+ echo '';
foreach ($lists as $list) {
+ $attr_data_list_id = esc_attr($list->id);
+ $list_name = esc_html($list->name);
echo '';
- echo sprintf('%s | ', esc_attr($list->id), esc_html($list->name));
- echo sprintf('%s | ', esc_html($list->id));
- echo sprintf('%s | ', esc_html($list->stats->member_count));
+ echo '', $list_name,' | ';
+ echo '', esc_html($list->id), ' | ';
+ echo '', esc_html($list->stats->member_count), ' | ';
echo ' ';
- echo sprintf('', $list->id);
+ echo ' ';
echo '';
- echo sprintf(' ' . esc_html__('Edit this list in Mailchimp', 'mailchimp-for-wp') . ' ', $list->web_id);
+ echo ' ', esc_html__('Edit this list in Mailchimp', 'mailchimp-for-wp'), ' ';
echo '', esc_html__('Loading... Please wait.', 'mailchimp-for-wp'), ' ';
echo ' | ';
echo ' ';
?>
';
echo ' ';
} // end if empty
?>
|