- fixed using "'" symbols in emails. There is possible to register with it and login after that. Closed #1059;

This commit is contained in:
Nikita Sinelnikov
2022-10-24 16:22:04 +03:00
parent b547d899bc
commit af13de140a
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -445,7 +445,7 @@ if ( ! class_exists( 'um\core\Form' ) ) {
* }
* ?>
*/
$this->post_form = apply_filters( 'um_submit_post_form', $_POST );
$this->post_form = apply_filters( 'um_submit_post_form', wp_unslash( $_POST ) );
if ( isset( $this->post_form[ UM()->honeypot ] ) && '' !== $this->post_form[ UM()->honeypot ] ) {
wp_die( esc_html__( 'Hello, spam bot!', 'ultimate-member' ) );