mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 22:54:03 +09:00
Fx text domain slug for wp.org translation compatibility
This commit is contained in:
+4
-4
@@ -122,7 +122,7 @@ class UM_Form {
|
||||
}
|
||||
|
||||
if ( isset( $custom_field_roles ) && is_array( $custom_field_roles ) && ! empty( $role ) && ! in_array( $role , $custom_field_roles ) ) {
|
||||
wp_die( __( 'This is not possible for security reasons.','ultimatemember') );
|
||||
wp_die( __( 'This is not possible for security reasons.','ultimate-member') );
|
||||
}
|
||||
|
||||
$this->post_form['role'] = $role;
|
||||
@@ -138,7 +138,7 @@ class UM_Form {
|
||||
}
|
||||
|
||||
if ( isset( $_POST[ $ultimatemember->honeypot ] ) && $_POST[ $ultimatemember->honeypot ] != '' ){
|
||||
wp_die('Hello, spam bot!','ultimatemember');
|
||||
wp_die('Hello, spam bot!','ultimate-member');
|
||||
}
|
||||
|
||||
if ( !in_array( $this->form_data['mode'], array('login') ) ) {
|
||||
@@ -147,10 +147,10 @@ class UM_Form {
|
||||
$live_timestamp = current_time( 'timestamp' );
|
||||
|
||||
if ( $form_timestamp == '' && um_get_option('enable_timebot') == 1 )
|
||||
wp_die( __('Hello, spam bot!','ultimatemember') );
|
||||
wp_die( __('Hello, spam bot!','ultimate-member') );
|
||||
|
||||
if ( !current_user_can('manage_options') && $live_timestamp - $form_timestamp < 6 && um_get_option('enable_timebot') == 1 )
|
||||
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!','ultimatemember') );
|
||||
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!','ultimate-member') );
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user