Add full-stop to inline comment
This commit is contained in:
parent
f2152e665e
commit
821d387c19
|
@ -1052,7 +1052,7 @@ class WC_Form_Handler {
|
|||
|
||||
if ( in_array( $field, array( 'password_1', 'password_2' ) ) ) {
|
||||
// Don't unslash password fields
|
||||
// @see https://github.com/woocommerce/woocommerce/issues/23922
|
||||
// @see https://github.com/woocommerce/woocommerce/issues/23922.
|
||||
$posted_fields[ $field ] = $_POST[ $field ]; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized, WordPress.Security.ValidatedSanitizedInput.MissingUnslash
|
||||
} else {
|
||||
$posted_fields[ $field ] = wp_unslash( $_POST[ $field ] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
|
||||
|
|
Loading…
Reference in New Issue