File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,9 @@ public function init() {
37
37
38
38
/**
39
39
* Start the OAuth process.
40
+ *
40
41
* This function is called via AJAX.
41
- * It start the OAuth process by the calling the oAuth middleware server and responding the response to the front-end.
42
+ * It starts the OAuth process by the calling the OAuth middleware server and sending the response to the front-end.
42
43
*/
43
44
public function start_oauth_process () {
44
45
// Validate the nonce and permissions.
@@ -86,8 +87,9 @@ public function start_oauth_process() {
86
87
87
88
/**
88
89
* Finish the OAuth process.
90
+ *
89
91
* This function is called via AJAX.
90
- * This function finishes the OAuth process by the sending temporary token back to the oAuth server.
92
+ * This function finishes the OAuth process by the sending a temporary token back to the OAuth server.
91
93
*/
92
94
public function finish_oauth_process () {
93
95
// Validate the nonce and permissions.
Original file line number Diff line number Diff line change 2
2
/**
3
3
* Class responsible for encrypting and decrypting data.
4
4
*
5
- * @package Mailchimp
5
+ * @package Mailchimp
6
6
*/
7
7
8
8
// Exit if accessed directly.
@@ -121,7 +121,7 @@ private function get_default_key() {
121
121
return LOGGED_IN_KEY ;
122
122
}
123
123
124
- // If this is reached, you're either not on a live site or have a serious security issue .
124
+ // Ideally this default is never used but we have it just in case .
125
125
return 'vJgwa_qf0u(k!uir[rB);g;DciNAKuX;+q&`A+z&m6kX3Y|$q.U3:Q>!$)6CA+=O ' ;
126
126
}
127
127
@@ -141,7 +141,7 @@ private function get_default_salt() {
141
141
return LOGGED_IN_SALT ;
142
142
}
143
143
144
- // If this is reached, you're either not on a live site or have a serious security issue .
144
+ // Ideally this default is never used but we have it just in case .
145
145
return '|qhC}/w6q+$V`H>wM:AtNpg/{s)g<k{F:WMcvJJD[K6c_Kb1OEy^Yx7f|$Ovm+X| ' ;
146
146
}
147
147
}
Original file line number Diff line number Diff line change 71
71
</table>
72
72
<p class="oauth-error error_msg" style="display:none;"></p>
73
73
<div id="login-popup-blocked-modal" style="display:none;">
74
- <p><?php esc_html_e ( 'Please allow your browser to show popups for this page. ' , 'distributor ' ); ?> </p>
74
+ <p><?php esc_html_e ( 'Please allow your browser to show popups for this page. ' , 'mailchimp ' ); ?> </p>
75
75
<div class="footer">
76
76
<a href="https://mailchimp.com/help/enable-pop-ups-in-your-browser/"><!--TODO: This link not working fix this. -->
77
77
<?php esc_html_e ( 'How to Enable Pop-ups in Your Browser ' , 'mailchimp ' ); ?>
You can’t perform that action at this time.
0 commit comments