Completed
Push — master ( 782b7e...a129d3 )
by
unknown
51s queued 43s
created
classes/controllers/FrmFormsController.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1889,7 +1889,8 @@  discard block
 block discarded – undo
1889 1889
 		$action = isset( $_REQUEST['frm_action'] ) ? 'frm_action' : 'action';
1890 1890
 		$vars   = array();
1891 1891
 		FrmAppHelper::include_svg();
1892
-		if ( isset( $_POST['frm_compact_fields'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
1892
+		if ( isset( $_POST['frm_compact_fields'] ) ) {
1893
+// phpcs:ignore WordPress.Security.NonceVerification.Missing
1893 1894
 			FrmAppHelper::permission_check( 'frm_edit_forms' );
1894 1895
 
1895 1896
 			// Javascript needs to be allowed in some field settings.
@@ -2314,7 +2315,8 @@  discard block
 block discarded – undo
2314 2315
 	private static function get_saved_errors( $form, $params ) {
2315 2316
 		global $frm_vars;
2316 2317
 
2317
-		if ( $params['posted_form_id'] == $form->id && $_POST && isset( $frm_vars['created_entries'][ $form->id ] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
2318
+		if ( $params['posted_form_id'] == $form->id && $_POST && isset( $frm_vars['created_entries'][ $form->id ] ) ) {
2319
+// phpcs:ignore WordPress.Security.NonceVerification.Missing
2318 2320
 			$errors = $frm_vars['created_entries'][ $form->id ]['errors'];
2319 2321
 		} else {
2320 2322
 			$errors = array();
Please login to merge, or discard this patch.