Update 1.0.56

This commit is contained in:
ultimatemember
2015-02-15 20:31:41 +02:00
parent 5ad611a472
commit 60943d9695
26 changed files with 217 additions and 61 deletions
+2 -2
View File
@@ -76,12 +76,12 @@ class UM_Form {
if ( !in_array( $this->form_data['mode'], array('login') ) ) {
$form_timestamp = trim($_POST['timestamp']);
$live_timestamp = time();
$live_timestamp = current_time( 'timestamp' );
if ( $form_timestamp == '' )
wp_die( __('Hello, spam bot!') );
if ( $live_timestamp - $form_timestamp < 3 )
if ( $live_timestamp - $form_timestamp < 5 )
wp_die( __('Whoa, slow down! You\'re seeing this message because you tried to submit a form too fast and we think you might be a spam bot. If you are a real human being please wait a few seconds before submitting the form. Thanks!') );
}