Skip to content

Commit

Permalink
Merge branch 'release/1.8.9.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
atwellpub committed May 18, 2018
2 parents 32ecb13 + 0e9ea92 commit c25aeb7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
6 changes: 1 addition & 5 deletions classes/admin/report-templates/report.email-stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,11 +298,7 @@ public static function display_all_events(){
$lead_first_name = get_post_meta($lead->ID, 'wpleads_first_name', true);
$lead_last_name = get_post_meta($lead->ID, 'wpleads_last_name', true);

$lead_name = $lead_first_name . ' ' . $lead_last_name;

if(empty(trim($lead_name))){
$lead_name = 'N/A';
}
$lead_name = trim($lead_first_name . ' ' . $lead_last_name);

}else{
$lead_name = __('Lead Deleted', 'inbound-pro');
Expand Down
3 changes: 2 additions & 1 deletion core/cta/classes/class.cta.render.php
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,8 @@ public function enqueue_scripts() {
$global_cookie = get_option( 'wp-cta-main-global-cookie', 0 );
$global_cookie_length = get_option( 'wp-cta-main-global-cookie-length', 30 );

$popup_params = array( 'timeout' => $pop_time_final,
$popup_params = array(
'timeout' => $pop_time_final,
'c_status' => $popup_cookie,
'c_length' => $popup_cookie_length,
'page_views'=> $popup_pageviews,
Expand Down
8 changes: 7 additions & 1 deletion core/mailer/classes/class.mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,13 @@ public static function get_variation_from_email() {
* Gets the reply email from variation settings
*/
public static function get_variation_reply_email() {
return self::$email_settings['variations'] [self::$row->variation_id] ['reply_email'];
/* process tokens */
self::$email_settings['variations'][self::$row->variation_id]['reply_email'] = Inbound_Mailer_Tokens::process_tokens(
self::$email_settings['variations'][self::$row->variation_id]['reply_email'] ,
json_decode(self::$row->tokens , true)
);

return do_shortcode(self::$email_settings['variations'][self::$row->variation_id]['reply_email']);
}


Expand Down
4 changes: 2 additions & 2 deletions inbound-pro.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin URI: http://www.inboundnow.com/
Description: Professional Inbound Marketing Suite for WordPress
Author: InboundWP LLC
Version: 1.8.9.1
Version: 1.8.9.2
Author URI: http://www.inboundnow.com/
Text Domain: inbound-pro
Expand Down Expand Up @@ -96,7 +96,7 @@ public function __construct() {
*/
private static function define_constants() {

define('INBOUND_PRO_CURRENT_VERSION', '1.8.9.1' );
define('INBOUND_PRO_CURRENT_VERSION', '1.8.9.2' );
define('INBOUND_PRO_STABLE_VERSION', '1.8.6.7' );
define('INBOUND_PRO_TRANSLATIONS_VERSION', '1.30.18' );
define('INBOUND_PRO_URLPATH', plugin_dir_url( __FILE__ ));
Expand Down

0 comments on commit c25aeb7

Please sign in to comment.