| @@ -4,9 +4,9 @@ | ||
| 4 | 4 | * @package Booking Manager |
| 5 | 5 | * @category Send Emails |
| 6 | 6 | * @author wpdevelop |
| 7 | 7 | * |
| 8 | - * @web-site http://oplugins.com/ | |
| 8 | + * @web-site https://oplugins.com/ | |
| 9 | 9 | * @email [email protected] |
| 10 | 10 | * |
| 11 | 11 | * @modified 15.09.2015 |
| 12 | 12 | */ |
| @@ -42,9 +42,9 @@ | ||
| 42 | 42 | $recipient = $matches[2]; |
| 43 | 43 | } |
| 44 | 44 | } else { |
| 45 | 45 | // Check about correct format of email |
| 46 | - if( preg_match( '/([\w\.\-_]+)?\w+@[\w-_]+(\.\w+){1,}/im', $recipient, $matches ) ) { | |
| 46 | + if( preg_match( '/([\w\.\-_]+)?\w+@[\w\-_]+(\.\w+){1,}/im', $recipient, $matches ) ) { //FixIn: 2.0.15.1 | |
| 47 | 47 | $recipient = $matches[0]; |
| 48 | 48 | } |
| 49 | 49 | } |
| 50 | 50 | |
| @@ -190,9 +190,9 @@ | ||
| 190 | 190 | } |
| 191 | 191 | |
| 192 | 192 | if ( ! empty( $error_description ) ) { |
| 193 | 193 | |
| 194 | - $error_description = '' . __('Error', 'booking-manager') . '! ' . __('Email had not sent. Some error occuered.', 'booking-manager') . ' ' . $error_description; | |
| 194 | + $error_description = '' . __('Error', 'booking-manager') . '! ' . __('Email was not sent. An error occurred.', 'booking-manager') . ' ' . $error_description; | |
| 195 | 195 | |
| 196 | 196 | // Admin side |
| 197 | 197 | if ( function_exists( 'wpbm_show_message' ) ) { |
| 198 | 198 | wpbm_show_message ( $error_description , 15 , 'error'); |