Add full-stop to inline comment

This commit is contained in:
Andy Mardell 2019-07-01 08:31:10 +01:00
parent f2152e665e
commit 821d387c19
1 changed files with 1 additions and 1 deletions

View File

@ -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