From 6b06aba0a5ab1c2b382a8cdb0f06ef7f5c6d5824 Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Sun, 14 Apr 2019 16:23:21 -0700
Subject: [PATCH] Remove incorrect fixes

---
 external-permalinks-redux.php | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/external-permalinks-redux.php b/external-permalinks-redux.php
index 56cc801..4bf84bf 100644
--- a/external-permalinks-redux.php
+++ b/external-permalinks-redux.php
@@ -148,7 +148,7 @@ class external_permalinks_redux {
 				<?php
 				foreach ( $this->status_codes as $status_code => $explanation ) {
 					echo '<option value="' . esc_attr( $status_code ) . '"';
-					echo selected( $status_code, intval( $type ) );
+					selected( $status_code, (int) $type );
 					echo '>' . esc_attr( $explanation ) . '</option>';
 				}
 				?>
@@ -156,8 +156,7 @@ class external_permalinks_redux {
 		</p>
 
 		<?php
-		// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
-		echo wp_nonce_field( 'external-permalinks-redux', $this->meta_key_target . '_nonce', false );
+		wp_nonce_field( 'external-permalinks-redux', $this->meta_key_target . '_nonce', false );
 	}
 
 	/**
-- 
GitLab