Skip to content
Snippets Groups Projects
Commit 6b06aba0 authored by Erick Hitter's avatar Erick Hitter
Browse files

Remove incorrect fixes

parent 1cc5afcd
No related branches found
No related tags found
1 merge request!2Fix all PHPCS issues
......@@ -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 );
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment