Passed
Pull Request — master (#782)
by Kiran
15:30
created
includes/admin/class-getpaid-admin-profile.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,8 +138,11 @@
 block discarded – undo
138 138
 									</select>
139 139
 								<?php elseif ( ! empty( $field['type'] ) && 'checkbox' === $field['type'] ) : ?>
140 140
 									<input type="checkbox" name="<?php echo esc_attr( $key ); ?>" id="<?php echo esc_attr( $key ); ?>" value="1" class="<?php echo esc_attr( $field['class'] ); ?>" <?php checked( (int) $value, 1, true ); ?> />
141
-								<?php else : ?>
142
-									<input type="text" name="<?php echo esc_attr( $key ); ?>" id="<?php echo esc_attr( $key ); ?>" value="<?php echo esc_attr( $value ); ?>" class="<?php echo ( ! empty( $field['class'] ) ? esc_attr( $field['class'] ) : 'regular-text' ); ?>" />
141
+								<?php else {
142
+    : ?>
143
+									<input type="text" name="<?php echo esc_attr( $key );
144
+}
145
+?>" id="<?php echo esc_attr( $key ); ?>" value="<?php echo esc_attr( $value ); ?>" class="<?php echo ( ! empty( $field['class'] ) ? esc_attr( $field['class'] ) : 'regular-text' ); ?>" />
143 146
 								<?php endif; ?>
144 147
 								<p class="description"><?php echo wp_kses_post( $field['description'] ); ?></p>
145 148
 							</td>
Please login to merge, or discard this patch.