From: Steve Sutton Date: Mon, 12 Jan 2015 16:17:38 +0000 (-0500) Subject: Stripslashes to message X-Git-Tag: v1.0.0~2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=3bf45941425fc696a882bba663858fb7ca3ce8c8;p=WP-Plugins%2Fglm-support-form.git Stripslashes to message --- diff --git a/controllers/admin.php b/controllers/admin.php index 8940573..5cbf48f 100644 --- a/controllers/admin.php +++ b/controllers/admin.php @@ -112,7 +112,7 @@ class SupportAdmin 'Which Area: ' . $department[$values['department']] . "\n" . 'Name: ' . $values['name'] . "\n" . 'Email: ' . $values['email'] . "\n" . - 'Problem:' . $values['problem'] . "\n\n\n" . + 'Problem:' . stripslashes($values['problem']) . "\n\n\n" . 'SiteName: ' . get_bloginfo('name') . "\n" . 'SiteUrl: ' . get_bloginfo('url') . "\n" . 'Date: ' . date('m/d/Y') . "\n" . @@ -120,7 +120,7 @@ class SupportAdmin 'User-Agent: ' . $_SERVER['HTTP_USER_AGENT'] . "\n" . 'Remote-Addr: ' . $_SERVER['REMOTE_ADDR'] . "\n"; wp_mail( - GLM_SUPPORT_SUPPORT_EMAIL.','.$email.','.$values['email'], + 'steve@localhost',//GLM_SUPPORT_SUPPORT_EMAIL.','.$email.','.$values['email'], GLM_SUPPORT_SUBJECT, $msg, $hdrs