Skip to content

Commit 908e4d0

Browse files
authored
Merge pull request #145 from mailchimp/fix/92
Add a note to set the website URL in the Mailchimp Audience settings.
2 parents 0d51142 + 0c81fee commit 908e4d0

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

views/setup_page.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,27 @@ function ( $ele ) {
241241
<em><label for="mc_use_unsub_link"><?php esc_html_e( 'We\'ll automatically add a link to your list\'s unsubscribe form.', 'mailchimp' ); ?></label></em>
242242
</td>
243243
</tr>
244+
<tr valign="top">
245+
<td colspan="2">
246+
<?php
247+
echo wp_kses(
248+
sprintf(
249+
/* translators: %s: link to Mailchimp */
250+
__( '<strong>Note:</strong> If you haven\'t already, please <a href="%s" target="_blank" rel="noopener noreferrer">add</a> your website URL to your Mailchimp Audience account settings so users can properly return to your site after subscribing.', 'mailchimp' ),
251+
'https://mailchimp.com/help/change-or-update-the-return-to-our-website-button/'
252+
),
253+
[
254+
'a' => [
255+
'href' => [],
256+
'target' => [],
257+
'rel' => [],
258+
],
259+
'strong' => [],
260+
]
261+
)
262+
?>
263+
</td>
264+
</tr>
244265
</table>
245266
<input type="submit" value="<?php esc_attr_e( 'Update Subscribe Form Settings', 'mailchimp' ); ?>" class="button mailchimp-sf-button small mc-submit" /><br/>
246267
</div>

0 commit comments

Comments
 (0)