Skip to content

Commit c534437

Browse files
committed
Add a note to set the website URL in the Mailchimp Audience settings.
1 parent b6f5c9d commit c534437

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

views/setup_page.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,26 @@ 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">update</a> your website URL in the Mailchimp Audience settings to let users to return to your site.', 'mailchimp' ),
251+
esc_url( 'https://mailchimp.com/help/change-or-update-the-return-to-our-website-button/' )
252+
),
253+
[
254+
'a' => [
255+
'href' => [],
256+
'target' => [],
257+
],
258+
'strong' => [],
259+
]
260+
)
261+
?>
262+
</td>
263+
</tr>
244264
</table>
245265
<input type="submit" value="<?php esc_attr_e( 'Update Subscribe Form Settings', 'mailchimp' ); ?>" class="button mailchimp-sf-button small mc-submit" /><br/>
246266
</div>

0 commit comments

Comments
 (0)