diff --git a/core/mailer/classes/class.post-type.inbound-email.php b/core/mailer/classes/class.post-type.inbound-email.php index 9d849322..b6ded317 100644 --- a/core/mailer/classes/class.post-type.inbound-email.php +++ b/core/mailer/classes/class.post-type.inbound-email.php @@ -338,6 +338,11 @@ public static function check_if_scheduled_emails_sent() { /* get wordpress date format */ $wordpress_date_time_format = (get_option('date_format') == 'd/m/Y') ? 'd/m/Y G:i' : 'm/d/Y G:i'; + /* add date if does not exist */ + if(!$settings['send_datetime']) { + $settings['send_datetime'] = date_i18n($wordpress_date_time_format); + } + /* add time if does not exist */ if(!strstr($settings['send_datetime'],':')) { $settings['send_datetime'] = $settings['send_datetime'] . " 00:00"; diff --git a/inbound-pro.php b/inbound-pro.php index e30cf7a9..bc22ea9d 100644 --- a/inbound-pro.php +++ b/inbound-pro.php @@ -4,7 +4,7 @@ Plugin URI: http://www.inboundnow.com/ Description: Professional Inbound Marketing Suite for WordPress Author: InboundWP LLC -Version: 1.9.4.9 +Version: 1.9.4.10 Author URI: http://www.inboundnow.com/ Text Domain: inbound-pro */ @@ -95,7 +95,7 @@ public function __construct() { */ private static function define_constants() { - define('INBOUND_PRO_CURRENT_VERSION', '1.9.4.9' ); + define('INBOUND_PRO_CURRENT_VERSION', '1.9.4.10' ); define('INBOUND_PRO_STABLE_VERSION', '1.9.4.5' ); define('INBOUND_PRO_TRANSLATIONS_VERSION', '1.30.22' ); define('INBOUND_PRO_URLPATH', plugin_dir_url( __FILE__ ));