Changeset 1700988
- Timestamp:
- 07/23/2017 10:42:50 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ecampaign/branches/maintenance/Ecampaign.class.php
r1700957 r1700988 224 224 if (empty($pageAttributes->campaignEmail)) 225 225 $pageAttributes->campaignEmail = get_option('ec_campaignEmail'); 226 226 227 $nonce = wp_create_nonce('ecampaign'); 228 $referer = @$_SERVER["HTTP_REFERER"]; 227 229 $postID = get_the_ID(); 228 $referer = @$_SERVER["HTTP_REFERER"];230 229 231 $hiddenFields = 230 "<input type='hidden' name='_ajax_nonce' value=' @{$nonce}' />231 <input type='hidden' name='referer' value=' @{$referer}'/>232 <input type='hidden' name='postID' value=' @{$postID}'/>";232 "<input type='hidden' name='_ajax_nonce' value='{$nonce}' /> 233 <input type='hidden' name='referer' value='{$referer}'/> 234 <input type='hidden' name='postID' value='{$postID}'/>"; 233 235 234 236 $form = null ; $pageParts = preg_split("$<hr[^/]*/>$", $pageBody); … … 708 710 $phpmailer = new PHPMailer(true); // throw exceptions 709 711 $phpmailer->WordWrap = 76 ; // hate forcing word wrap 710 $phpmailer->Mailer = get_option('ec_mailer'); 712 //$phpmailer->Host = "10.168.1.70"; //added for tsohost ja 22-jun-2016 713 $phpmailer->Mailer = get_option('ec_mailer'); 711 714 $phpmailer->CharSet = apply_filters( 'wp_mail_charset', get_bloginfo( 'charset' )); 712 715 // add the originating URL so abuse can be tracked back to specific web page
Note: See TracChangeset
for help on using the changeset viewer.