@@ -13,7 +13,7 @@ |
||
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> |
@@ -63,7 +63,7 @@ |
||
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 | ); |
@@ -137,7 +137,8 @@ discard block |
||
137 | 137 | * @return array |
138 | 138 | */ |
139 | 139 | private static function get_enabled_form_action_ids( $form_actions, $enabled ) { |
140 | - if ( ! $enabled || empty( $_POST ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing |
|
140 | + if ( ! $enabled || empty( $_POST ) ) { |
|
141 | +// phpcs:ignore WordPress.Security.NonceVerification.Missing |
|
141 | 142 | // Default to having all actions selected. |
142 | 143 | return wp_list_pluck( $form_actions, 'ID' ); |
143 | 144 | } |
@@ -147,7 +148,8 @@ discard block |
||
147 | 148 | return wp_list_pluck( $form_actions, 'ID' ); |
148 | 149 | } |
149 | 150 | |
150 | - if ( empty( $_POST['frm_testmode']['enabled_form_actions'] ) || ! is_array( $_POST['frm_testmode']['enabled_form_actions'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing |
|
151 | + if ( empty( $_POST['frm_testmode']['enabled_form_actions'] ) || ! is_array( $_POST['frm_testmode']['enabled_form_actions'] ) ) { |
|
152 | +// phpcs:ignore WordPress.Security.NonceVerification.Missing |
|
151 | 153 | return array(); |
152 | 154 | } |
153 | 155 |