Completed
Pull Request — master (#2443)
by
unknown
45s
created
classes/views/test-mode/pagination-buttons.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 $number_of_pages_to_show = 4;
14 14
 ?>
15 15
 <div id="frm_test_mode_pagination">
16
-	<?php for ( $i = 1; $i <= $number_of_pages_to_show; $i++ ) : ?>
16
+	<?php for ( $i = 1; $i <= $number_of_pages_to_show; $i ++ ) : ?>
17 17
 		<input type="button" class="frm_noallow <?php echo $i === 1 ? 'frm_test_mode_active_page' : ''; ?>" value="<?php echo esc_attr( $i ); ?>"/>
18 18
 	<?php endfor; ?>
19 19
 </div>
Please login to merge, or discard this patch.
classes/controllers/FrmTestModeController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 	 */
64 64
 	private static function get_testing_mode_container() {
65 65
 		return FrmAppHelper::clip(
66
-			function () {
66
+			function() {
67 67
 				self::render_testing_most_container();
68 68
 			}
69 69
 		);
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,11 +108,13 @@
 block discarded – undo
108 108
 	 * @return array
109 109
 	 */
110 110
 	private static function get_enabled_form_action_ids( $form_actions, $enabled ) {
111
-		if ( ! $enabled || empty( $_POST ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
111
+		if ( ! $enabled || empty( $_POST ) ) {
112
+// phpcs:ignore WordPress.Security.NonceVerification.Missing
112 113
 			return wp_list_pluck( $form_actions, 'ID' );
113 114
 		}
114 115
 
115
-		if ( empty( $_POST['frm_testmode']['enabled_form_actions'] ) || ! is_array( $_POST['frm_testmode']['enabled_form_actions'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
116
+		if ( empty( $_POST['frm_testmode']['enabled_form_actions'] ) || ! is_array( $_POST['frm_testmode']['enabled_form_actions'] ) ) {
117
+// phpcs:ignore WordPress.Security.NonceVerification.Missing
116 118
 			return array();
117 119
 		}
118 120
 
Please login to merge, or discard this patch.