Completed
Push — staging ( 703689...2a3eee )
by
unknown
17:55
created
public/class-yikes-inc-easy-mailchimp-extender-public.php 1 patch
Spacing   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -57,9 +57,9 @@  discard block
 block discarded – undo
57 57
 		new YIKES_Inc_Easy_Mailchimp_Public_Ajax();
58 58
 
59 59
 		// Include our error logging class
60
-		add_action( 'init' , array( $this , 'load_error_logging_class' ) , 1 );
60
+		add_action( 'init', array( $this, 'load_error_logging_class' ), 1 );
61 61
 		// load our checkbox classes
62
-		add_action( 'init' , array( $this , 'load_checkbox_integration_classes' ) , 1 );
62
+		add_action( 'init', array( $this, 'load_checkbox_integration_classes' ), 1 );
63 63
 		// custom front end filter
64 64
 		add_action( 'init', array( $this, 'yikes_custom_frontend_content_filter' ) );
65 65
 		// Process non-ajax forms in the header
@@ -94,15 +94,15 @@  discard block
 block discarded – undo
94 94
 	**/
95 95
 	public function load_checkbox_integration_classes() {
96 96
 		// store our options
97
-		$integrations = get_option( 'optin-checkbox-init' , array() );
98
-		if( ! empty( $integrations ) && is_array( $integrations ) ) {
97
+		$integrations = get_option( 'optin-checkbox-init', array() );
98
+		if ( ! empty( $integrations ) && is_array( $integrations ) ) {
99 99
 			// load our mail integrations class
100 100
 			require_once YIKES_MC_PATH . 'public/classes/checkbox-integrations.php';
101 101
 			// loop over selected classes and load them up!
102
-			foreach( $integrations as $integration => $value ) {
103
-				if( isset( $value['value'] ) && $value['value'] == 'on' ) {
102
+			foreach ( $integrations as $integration => $value ) {
103
+				if ( isset( $value[ 'value' ] ) && $value[ 'value' ] == 'on' ) {
104 104
 					// load our class extensions
105
-					require_once YIKES_MC_PATH . 'public/classes/checkbox-integrations/class.'.$integration.'-checkbox.php';
105
+					require_once YIKES_MC_PATH . 'public/classes/checkbox-integrations/class.' . $integration . '-checkbox.php';
106 106
 				}
107 107
 			}
108 108
 		}
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 	 * @since 6.0.0
117 117
 	 */
118 118
 	public function load_error_logging_class() {
119
-		if( get_option( 'yikes-mailchimp-debug-status' , '' ) == '1' ) {
119
+		if ( get_option( 'yikes-mailchimp-debug-status', '' ) == '1' ) {
120 120
 			// if error logging is enabled we should include our error logging class
121 121
 			require_once YIKES_MC_PATH . 'includes/error_log/class-yikes-inc-easy-mailchimp-error-logging.php';
122 122
 			$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging;
@@ -129,19 +129,19 @@  discard block
 block discarded – undo
129 129
 	*	@since 6.0.3.4
130 130
 	*/
131 131
 	public function yikes_process_non_ajax_forms( $form_submitted ) {
132
-		global $wpdb,$post;
133
-		$form_id = ( ! empty( $_POST['yikes-mailchimp-submitted-form'] ) ) ? (int) $_POST['yikes-mailchimp-submitted-form'] : false; // store form id
134
-		if( $form_id ) {
132
+		global $wpdb, $post;
133
+		$form_id = ( ! empty( $_POST[ 'yikes-mailchimp-submitted-form' ] ) ) ? (int) $_POST[ 'yikes-mailchimp-submitted-form' ] : false; // store form id
134
+		if ( $form_id ) {
135 135
 			$form_settings = self::yikes_retrieve_form_settings( $form_id );
136
-			if( isset( $_POST ) && !empty( $_POST ) && isset( $form_id ) && $form_settings['submission_settings']['ajax'] == 0 ) {
137
-				if( $_POST['yikes-mailchimp-submitted-form'] == $form_id ) { // ensure we only process the form that was submitted
136
+			if ( isset( $_POST ) && ! empty( $_POST ) && isset( $form_id ) && $form_settings[ 'submission_settings' ][ 'ajax' ] == 0 ) {
137
+				if ( $_POST[ 'yikes-mailchimp-submitted-form' ] == $form_id ) { // ensure we only process the form that was submitted
138 138
 
139 139
 					// Lets include our form processing file
140 140
 					include_once( YIKES_MC_PATH . 'public/partials/shortcodes/process/process_form_submission.php' );
141
-					if( $form_settings['submission_settings']['redirect_on_submission'] == '1' ) {
142
-						if( $form_submitted == 1 ) {
141
+					if ( $form_settings[ 'submission_settings' ][ 'redirect_on_submission' ] == '1' ) {
142
+						if ( $form_submitted == 1 ) {
143 143
 							// decode our settings
144
-							$redirect_page = ( 'custom_url' != $form_settings['submission_settings']['redirect_page'] ) ? get_permalink( (int) $form_settings['submission_settings']['redirect_page'] ) : $form_settings['submission_settings']['custom_redirect_url'];
144
+							$redirect_page = ( 'custom_url' != $form_settings[ 'submission_settings' ][ 'redirect_page' ] ) ? get_permalink( (int) $form_settings[ 'submission_settings' ][ 'redirect_page' ] ) : $form_settings[ 'submission_settings' ][ 'custom_redirect_url' ];
145 145
 							wp_redirect( apply_filters( 'yikes-mailchimp-redirect-url', esc_url( $redirect_page ), $form_id, $post ) );
146 146
 							exit;
147 147
 						}
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 	 */
170 170
 	public static function yikes_retrieve_form_settings( $form_id ) {
171 171
 		// if no form id, abort
172
-		if( ! $form_id ) {
172
+		if ( ! $form_id ) {
173 173
 			return array();
174 174
 		}
175 175
 
@@ -198,13 +198,13 @@  discard block
 block discarded – undo
198 198
 			return;
199 199
 		}
200 200
 		// trim trailing period
201
-		if ( isset( $form_settings['error_messages']['update-link'] ) && ! empty( $form_settings['error_messages']['update-link'] ) ) {
202
-			$response_text = $form_settings['error_messages']['update-link'];
201
+		if ( isset( $form_settings[ 'error_messages' ][ 'update-link' ] ) && ! empty( $form_settings[ 'error_messages' ][ 'update-link' ] ) ) {
202
+			$response_text = $form_settings[ 'error_messages' ][ 'update-link' ];
203 203
 			// extract the link text
204 204
 			preg_match( '/\[link].*?\[\/link\]/', $response_text, $link_text );
205 205
 			if ( $link_text && ! empty( $link_text ) ) {
206 206
 				// Extract the custom link text ([link]*[/link])
207
-				$custom_link_text = str_replace( '[/link]', '', str_replace( '[link]', '', str_replace( 'click to send yourself an update link', $link_text[0], $link ) ) );
207
+				$custom_link_text = str_replace( '[/link]', '', str_replace( '[link]', '', str_replace( 'click to send yourself an update link', $link_text[ 0 ], $link ) ) );
208 208
 				// Replace the link text, with our custom link text
209 209
 				$response_text = str_replace( $link_text, $custom_link_text, $response_text );
210 210
 			}
@@ -233,8 +233,8 @@  discard block
 block discarded – undo
233 233
 		}
234 234
 
235 235
 		// trim trailing period
236
-		if ( isset( $form_settings['error_messages']['already-subscribed'] ) && ! empty( $form_settings['error_messages']['already-subscribed'] ) ) {
237
-			$response_text = str_replace( '[email]', $email, $form_settings['error_messages']['already-subscribed'] );
236
+		if ( isset( $form_settings[ 'error_messages' ][ 'already-subscribed' ] ) && ! empty( $form_settings[ 'error_messages' ][ 'already-subscribed' ] ) ) {
237
+			$response_text = str_replace( '[email]', $email, $form_settings[ 'error_messages' ][ 'already-subscribed' ] );
238 238
 		}
239 239
 		// Return our new string
240 240
 		return $response_text;
Please login to merge, or discard this patch.
public/classes/checkbox-integrations/class.comment_form-checkbox.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,14 +75,14 @@
 block discarded – undo
75 75
 
76 76
 		// Create merge variables based on comment data.
77 77
 		$merge_vars = array(
78
-			'FNAME'    => $comment_data['comment_author'],
79
-			'OPTIN_IP' => $comment_data['comment_author_IP'],
78
+			'FNAME'    => $comment_data[ 'comment_author' ],
79
+			'OPTIN_IP' => $comment_data[ 'comment_author_IP' ],
80 80
 		);
81 81
 
82 82
 		$addl_vars = apply_filters( 'yikes_mailchimp_checkbox_integration_additional_vars', array( 'comment_data' => $comment_data ), $this->type );
83 83
 
84 84
 		// Subscribe the user.
85
-		$this->subscribe_user_integration( $comment_data['comment_author_email'], $this->type, $merge_vars, $addl_vars );
85
+		$this->subscribe_user_integration( $comment_data[ 'comment_author_email' ], $this->type, $merge_vars, $addl_vars );
86 86
 	}
87 87
 }
88 88
 $yikes_easy_mc_comment_checkbox_class = new Yikes_Easy_MC_Comment_Checkbox_Class();
Please login to merge, or discard this patch.
class.easy_digital_downloads_checkout_form-checkbox.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -80,11 +80,11 @@
 block discarded – undo
80 80
 
81 81
 		$user_info  = (array) edd_get_payment_meta_user_info( $payment_id );
82 82
 		$merge_vars = array();
83
-		if ( isset( $user_info['first_name'] ) ) {
84
-			$merge_vars['FNAME'] = $user_info['first_name'];
83
+		if ( isset( $user_info[ 'first_name' ] ) ) {
84
+			$merge_vars[ 'FNAME' ] = $user_info[ 'first_name' ];
85 85
 		}
86
-		if ( isset( $user_info['last_name'] ) ) {
87
-			$merge_vars['LNAME'] = $user_info['last_name'];
86
+		if ( isset( $user_info[ 'last_name' ] ) ) {
87
+			$merge_vars[ 'LNAME' ] = $user_info[ 'last_name' ];
88 88
 		}
89 89
 
90 90
 		$addl_vars = apply_filters( 'yikes_mailchimp_checkbox_integration_additional_vars', array( 'user' => $user_info, 'payment_id' => $payment_id ), $this->type );
Please login to merge, or discard this patch.
public/classes/checkbox-integrations/class.contact_form_7-checkbox.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 	 * @return array $data CF7 posted data.
49 49
 	 */
50 50
 	public function alter_cf7_data( $data = array() ) {
51
-		$data['yikes_mailchimp_checkbox'] = $this->was_checkbox_checked( $this->type ) ? __( 'Yes', 'yikes-inc-easy-mailchimp-extender' ) : __( 'No', 'yikes-inc-easy-mailchimp-extender' );
51
+		$data[ 'yikes_mailchimp_checkbox' ] = $this->was_checkbox_checked( $this->type ) ? __( 'Yes', 'yikes-inc-easy-mailchimp-extender' ) : __( 'No', 'yikes-inc-easy-mailchimp-extender' );
52 52
 		return $data;
53 53
 	}
54 54
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 		$submission          = WPCF7_Submission::get_instance();
66 66
 		if ( $submission ) {
67 67
 			$data      = $submission->get_posted_data();
68
-			$email     = isset( $data['your-email'] ) ? $data['your-email'] : '';
68
+			$email     = isset( $data[ 'your-email' ] ) ? $data[ 'your-email' ] : '';
69 69
 			$fields    = array( 'email' => $email );
70 70
 			$addl_vars = apply_filters( 'yikes_mailchimp_checkbox_integration_additional_vars', array( 'cf7_data' => $data, 'contact_form' => $contact_form ), $this->type );
71 71
 			$this->subscribe_user_integration( $email, $this->type, apply_filters( 'yikes-mailchimp-contact-form-7', $fields, $data ), $addl_vars );
Please login to merge, or discard this patch.
admin/partials/menu/options-sections/debug-settings.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 	- display installation stuff here
4 4
 	- php version, wp version, plugin version and debug log
5 5
 -->
6
-<h3><span><?php _e( 'Debug Settings' , 'yikes-inc-easy-mailchimp-extender' ); ?></span></h3>
6
+<h3><span><?php _e( 'Debug Settings', 'yikes-inc-easy-mailchimp-extender' ); ?></span></h3>
7 7
 
8 8
 <div class="inside">
9 9
 
@@ -12,10 +12,10 @@  discard block
 block discarded – undo
12 12
 	
13 13
 		<?php settings_fields( 'yikes_inc_easy_mc_debug_settings_page' ); ?>
14 14
 	
15
-		<label for="yikes-mailchimp-debug-status"><strong><?php _e( 'Enable Debugging' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
16
-			<input type="checkbox" name="yikes-mailchimp-debug-status" id="yikes-mailchimp-debug-status" value="1" <?php checked( get_option( 'yikes-mailchimp-debug-status' , '' ) , '1' ); ?>>
15
+		<label for="yikes-mailchimp-debug-status"><strong><?php _e( 'Enable Debugging', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
16
+			<input type="checkbox" name="yikes-mailchimp-debug-status" id="yikes-mailchimp-debug-status" value="1" <?php checked( get_option( 'yikes-mailchimp-debug-status', '' ), '1' ); ?>>
17 17
 		</label>
18
-		<p class="description"><?php _e( "If you encounter an issue with Easy Forms for Mailchimp you can toggle on debugging to display advanced error messages and start logging errors." , 'yikes-inc-easy-mailchimp-extender' ); ?></p>
18
+		<p class="description"><?php _e( "If you encounter an issue with Easy Forms for Mailchimp you can toggle on debugging to display advanced error messages and start logging errors.", 'yikes-inc-easy-mailchimp-extender' ); ?></p>
19 19
 		
20 20
 		<?php submit_button(); ?>
21 21
 									
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 				)
35 35
 			);
36 36
 		?>
37
-		<h2><?php _e( "Debug Log" , 'yikes-inc-easy-mailchimp-extender' ); ?> &nbsp; <a href="<?php echo $url; ?>" class="button-secondary"><?php _e( 'Clear Log', 'yikes-inc-easy-mailchimp-extender' ); ?></a></h2>
37
+		<h2><?php _e( "Debug Log", 'yikes-inc-easy-mailchimp-extender' ); ?> &nbsp; <a href="<?php echo $url; ?>" class="button-secondary"><?php _e( 'Clear Log', 'yikes-inc-easy-mailchimp-extender' ); ?></a></h2>
38 38
 		
39 39
 		<table class="widefat" id="yikes-mailchimp-error-log">
40 40
 			<!-- table header -->
Please login to merge, or discard this patch.
includes/api/class-yikes-inc-easy-mailchimp-api-abstract-items.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -79,8 +79,8 @@  discard block
 block discarded – undo
79 79
 			}
80 80
 
81 81
 			// If the API gave an error or there are no more lists, break.
82
-			if ( isset( $response['error'] ) ) {
83
-				return new WP_Error( $response['title'], $response['detail'] );
82
+			if ( isset( $response[ 'error' ] ) ) {
83
+				return new WP_Error( $response[ 'title' ], $response[ 'detail' ] );
84 84
 			}
85 85
 
86 86
 			if ( empty( $response[ $item_key ] ) ) {
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 
90 90
 			// Update the total number of items if it's still zero.
91 91
 			if ( 0 === $total ) {
92
-				$total = intval( $response['total_items'] );
92
+				$total = intval( $response[ 'total_items' ] );
93 93
 			}
94 94
 
95 95
 			// Store each new list.
@@ -196,28 +196,28 @@  discard block
 block discarded – undo
196 196
 			return $response;
197 197
 		}
198 198
 
199
-		if ( isset( $response['error'] ) ) {
200
-			$title  = isset( $response['title'] )  ? $response['title']  : $response['name'];
201
-			$detail = isset( $response['detail'] ) ? $response['detail'] : $response['error'];
202
-			$data   = isset( $response['errors'] ) ? $response['errors'] : array();
199
+		if ( isset( $response[ 'error' ] ) ) {
200
+			$title  = isset( $response[ 'title' ] ) ? $response[ 'title' ] : $response[ 'name' ];
201
+			$detail = isset( $response[ 'detail' ] ) ? $response[ 'detail' ] : $response[ 'error' ];
202
+			$data   = isset( $response[ 'errors' ] ) ? $response[ 'errors' ] : array();
203 203
 
204 204
 			return new WP_Error(
205 205
 				$title,
206 206
 				$detail,
207 207
 				array(
208
-					'status' => (int) $response['status'],
208
+					'status' => (int) $response[ 'status' ],
209 209
 					'data'   => $data,
210 210
 				)
211 211
 			);
212 212
 		}
213 213
 
214
-		if ( isset( $response['status'] ) && 503 === (int) $response['status'] ) {
214
+		if ( isset( $response[ 'status' ] ) && 503 === (int) $response[ 'status' ] ) {
215 215
 			return new WP_Error(
216
-				$response['status'],
217
-				( isset( $response['ref_no'] ) ? $response['ref_no'] . '. ' : '' ) . ( isset( $response['title'] ) ? '(' . $response['title'] . ')' : '(akamai_503)' ),
216
+				$response[ 'status' ],
217
+				( isset( $response[ 'ref_no' ] ) ? $response[ 'ref_no' ] . '. ' : '' ) . ( isset( $response[ 'title' ] ) ? '(' . $response[ 'title' ] . ')' : '(akamai_503)' ),
218 218
 				array(
219
-					'status' => (int) $response['status'],
220
-					'data'   => isset( $response['ref_no'] ) ? $response['ref_no'] : '',
219
+					'status' => (int) $response[ 'status' ],
220
+					'data'   => isset( $response[ 'ref_no' ] ) ? $response[ 'ref_no' ] : '',
221 221
 				)
222 222
 			);
223 223
 		}
@@ -246,9 +246,9 @@  discard block
 block discarded – undo
246 246
 		// Mailchimp uses the application/problem+json type for errors.
247 247
 		$headers = wp_remote_retrieve_headers( $response );
248 248
 
249
-		if ( isset( $headers['content-type'] ) ) {
250
-			if ( false !== strpos( $headers['content-type'], 'application/problem+json' ) ) {
251
-				$body['error'] = true;
249
+		if ( isset( $headers[ 'content-type' ] ) ) {
250
+			if ( false !== strpos( $headers[ 'content-type' ], 'application/problem+json' ) ) {
251
+				$body[ 'error' ] = true;
252 252
 			}
253 253
 		}
254 254
 
Please login to merge, or discard this patch.
admin/partials/menu/options-sections/general-settings.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 		</span>
24 24
 	</h3>
25 25
 <?php else : ?>
26
-	<h3><span><?php _e( 'General Settings' , 'yikes-inc-easy-mailchimp-extender' ); ?></span><?php echo $api_connection; ?></h3>
26
+	<h3><span><?php _e( 'General Settings', 'yikes-inc-easy-mailchimp-extender' ); ?></span><?php echo $api_connection; ?></h3>
27 27
 <?php endif; ?>
28 28
 
29 29
 <div class="inside">
@@ -38,11 +38,11 @@  discard block
 block discarded – undo
38 38
 		<!-- Mailchimp API Input Field -->
39 39
 		<label for="yks-mailchimp-api-key">
40 40
 
41
-			<p><?php _e( 'Enter your API key in the field below to connect your site to your Mailchimp account.' , 'yikes-inc-easy-mailchimp-extender' ); ?></p>
41
+			<p><?php _e( 'Enter your API key in the field below to connect your site to your Mailchimp account.', 'yikes-inc-easy-mailchimp-extender' ); ?></p>
42 42
 
43
-			<p><strong><?php _e( 'Mailchimp API Key' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong></p>
43
+			<p><strong><?php _e( 'Mailchimp API Key', 'yikes-inc-easy-mailchimp-extender' ); ?></strong></p>
44 44
 
45
-			<input autocomplete="off" <?php if ( $yikes_mc_api_constant ) { echo 'readonly="readonly"'; } if( strlen( yikes_get_mc_api_key() ) > 0 ) { ?> type="password" <?php } else { ?> type="text" <?php } ?> value="<?php echo esc_attr( yikes_get_mc_api_key() ); ?>" placeholder="<?php _e( 'Mailchimp API Key' , 'yikes-inc-easy-mailchimp-extender' ); ?>" name="yikes-mc-api-key" id="yikes-mc-api-key" class="settings-page-input" />
45
+			<input autocomplete="off" <?php if ( $yikes_mc_api_constant ) { echo 'readonly="readonly"'; } if ( strlen( yikes_get_mc_api_key() ) > 0 ) { ?> type="password" <?php } else { ?> type="text" <?php } ?> value="<?php echo esc_attr( yikes_get_mc_api_key() ); ?>" placeholder="<?php _e( 'Mailchimp API Key', 'yikes-inc-easy-mailchimp-extender' ); ?>" name="yikes-mc-api-key" id="yikes-mc-api-key" class="settings-page-input" />
46 46
 
47 47
 			<?php if ( $yikes_mc_api_constant ) { ?>
48 48
 				<p class="description"><?php printf( __( "Your Mailchimp API key has been defined using the %s constant, in a PHP file.", "yikes-inc-easy-mailchimp-extender" ), '<code>YIKES_MC_API_KEY</code>' ); ?></p>
@@ -51,21 +51,21 @@  discard block
 block discarded – undo
51 51
 			<?php echo $api_error_response; ?>
52 52
 
53 53
 			<?php if ( ! $yikes_mc_api_constant ) { ?>
54
-				<p class="description"><small><a href="https://admin.mailchimp.com/account/api" target="_blank" title="<?php _e( 'Get your API key here' , 'yikes-inc-easy-mailchimp-extender' ); ?>"><?php _e( 'Get your API key here' , 'yikes-inc-easy-mailchimp-extender' ); ?></a></small></p>
54
+				<p class="description"><small><a href="https://admin.mailchimp.com/account/api" target="_blank" title="<?php _e( 'Get your API key here', 'yikes-inc-easy-mailchimp-extender' ); ?>"><?php _e( 'Get your API key here', 'yikes-inc-easy-mailchimp-extender' ); ?></a></small></p>
55 55
 			<?php } ?>
56 56
 
57 57
 			<p class="description"><?php esc_html_e( 'Warning: changing your API key may break your current forms.', 'yikes-inc-easy-mailchimp-extender' ); ?></p>
58 58
 		</label>
59 59
 
60 60
 		<!-- Use Nonce Validation Field -->		
61
-		<p><strong><?php _e( 'Enable nonce validation on this site?' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong></p>
61
+		<p><strong><?php _e( 'Enable nonce validation on this site?', 'yikes-inc-easy-mailchimp-extender' ); ?></strong></p>
62 62
 		<label for="yikes-mailchimp-use-nonce-yes">
63 63
 			Yes
64
-			<input type="radio" name="yikes-mailchimp-use-nonce" id="yikes-mailchimp-use-nonce-yes" class="settings-page-input" value="1" <?php checked( get_option( 'yikes-mailchimp-use-nonce', '1' ) , '1' ); ?> />
64
+			<input type="radio" name="yikes-mailchimp-use-nonce" id="yikes-mailchimp-use-nonce-yes" class="settings-page-input" value="1" <?php checked( get_option( 'yikes-mailchimp-use-nonce', '1' ), '1' ); ?> />
65 65
 		</label>
66 66
 		<label for="yikes-mailchimp-use-nonce-no">
67 67
 			No
68
-			<input type="radio" name="yikes-mailchimp-use-nonce" id="yikes-mailchimp-use-nonce-no" class="settings-page-input" value="0" <?php checked( get_option( 'yikes-mailchimp-use-nonce', '1' ) , '0' ); ?> />
68
+			<input type="radio" name="yikes-mailchimp-use-nonce" id="yikes-mailchimp-use-nonce-no" class="settings-page-input" value="0" <?php checked( get_option( 'yikes-mailchimp-use-nonce', '1' ), '0' ); ?> />
69 69
 		</label>
70 70
 
71 71
 	<?php submit_button(); ?>
Please login to merge, or discard this patch.
blocks/blocks.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 	public function __construct() {
13 13
 		add_action( 'enqueue_block_editor_assets', array( $this, 'editor_scripts' ) );
14 14
 		add_action( 'init', array( $this, 'register_blocks' ), 11 );
15
-		add_filter( 'block_categories', array( $this, 'easy_forms_register_category' ), 10, 2);
15
+		add_filter( 'block_categories', array( $this, 'easy_forms_register_category' ), 10, 2 );
16 16
 	}
17 17
 
18 18
 	/**
Please login to merge, or discard this patch.
blocks/easy-forms-block/build/easy-forms-blocks.asset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,1 +1,1 @@
 block discarded – undo
1
-<?php return array('dependencies' => array('react', 'wp-element', 'wp-polyfill'), 'version' => 'a8faf52df605acb6ed260427dc38af80');
1
+<?php return array( 'dependencies' => array( 'react', 'wp-element', 'wp-polyfill' ), 'version' => 'a8faf52df605acb6ed260427dc38af80' );
Please login to merge, or discard this patch.