We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6f5c9d commit 70e9800Copy full SHA for 70e9800
views/setup_page.php
@@ -21,7 +21,7 @@
21
<td><h3><?php esc_html_e( 'Logged in as', 'mailchimp' ); ?>: <?php echo esc_html( $user['username'] ); ?></h3>
22
</td>
23
<td>
24
- <form method="post" action="">
+ <form method="post" action="" onsubmit="return confirm('<?php echo esc_js( __( 'Are you sure you want to log out?', 'mailchimp' ) ); ?>');">
25
<input type="hidden" name="mcsf_action" value="logout"/>
26
<input type="submit" name="Submit" value="<?php esc_attr_e( 'Logout', 'mailchimp' ); ?>" class="button button-secondary mailchimp-sf-button small" />
27
<?php wp_nonce_field( 'mc_logout', '_mcsf_nonce_action' ); ?>
0 commit comments