diff --git a/external-permalinks-redux.php b/external-permalinks-redux.php index 56cc801dd18a7c2173d9b6d169db8ed7535c3042..4bf84bfb296c42e9596012c6f660189ce4ec0abf 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 ); } /**