Completed
Push — staging ( 68fed3...485a71 )
by Evan
04:30
created
public/classes/checkbox-integrations.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -210,6 +210,10 @@
 block discarded – undo
210 210
 		*	before continuing
211 211
 		*	@since 6.0.0
212 212
 		*/
213
+
214
+		/**
215
+		 * @param string $type
216
+		 */
213 217
 		public function was_checkbox_checked( $type ) {
214 218
 			// was sign-up checkbox checked - return the value
215 219
 			return ( isset( $_POST[ 'yikes_mailchimp_checkbox_'.$type ] ) && $_POST[ 'yikes_mailchimp_checkbox_'.$type ] == 1 );
Please login to merge, or discard this patch.
public/partials/shortcodes/process/process_form_submission.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -151,7 +151,8 @@  discard block
 block discarded – undo
151 151
 				}
152 152
 			}
153 153
 
154
-			if ( strpos( $merge_tag, 'group-' ) !== false ) { // this is is an interest group!
154
+			if ( strpos( $merge_tag, 'group-' ) !== false ) {
155
+// this is is an interest group!
155 156
 
156 157
 				$tag = str_replace( 'group-', '', $merge_tag );
157 158
 
@@ -169,7 +170,8 @@  discard block
 block discarded – undo
169 170
 
170 171
 				$groups[ $value ] = true;
171 172
 
172
-			} else { // or else it's just a standard merge variable
173
+			} else {
174
+// or else it's just a standard merge variable
173 175
 
174 176
 				$merge_variables[ $merge_tag ] = $value;
175 177
 
Please login to merge, or discard this patch.
public/partials/shortcodes/process/process_form_submission_ajax.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -153,7 +153,8 @@  discard block
 block discarded – undo
153 153
 
154 154
 		}
155 155
 
156
-		if ( strpos( $merge_tag, 'group-' ) !== false ) { // this is is an interest group!
156
+		if ( strpos( $merge_tag, 'group-' ) !== false ) {
157
+// this is is an interest group!
157 158
 
158 159
 			$tag = str_replace( 'group-', '', $merge_tag );
159 160
 
@@ -171,7 +172,8 @@  discard block
 block discarded – undo
171 172
 
172 173
 			$groups[ $value ] = true;
173 174
 
174
-		} else { // or else it's just a standard merge variable
175
+		} else {
176
+// or else it's just a standard merge variable
175 177
 
176 178
 			$merge_variables[ $merge_tag ] = $value;
177 179
 
Please login to merge, or discard this patch.