summaryrefslogtreecommitdiff
path: root/Postman
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2019-09-26 14:57:09 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2019-09-26 14:57:09 +0000
commit388eeb5b4dfd246bfddf8ea4b7172696646ad702 (patch)
treecc63dea8bd752f0e03c0a73402827cf1b287a5cd /Postman
parent3b38e067fd89ff95492c1951854f1754d668dfdc (diff)
downloadPost-SMTP-388eeb5b4dfd246bfddf8ea4b7172696646ad702.zip
missong file, bug sent to
Diffstat (limited to 'Postman')
-rw-r--r--Postman/Postman-Email-Log/PostmanEmailLogView.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Postman/Postman-Email-Log/PostmanEmailLogView.php b/Postman/Postman-Email-Log/PostmanEmailLogView.php
index 205235d..52cdd4d 100644
--- a/Postman/Postman-Email-Log/PostmanEmailLogView.php
+++ b/Postman/Postman-Email-Log/PostmanEmailLogView.php
@@ -373,7 +373,7 @@ class PostmanEmailLogView extends WP_List_Table {
$date = sprintf( _x( '%s ago', 'A relative time as in "five days ago"', 'post-smtp' ), $humanTime );
}
$meta_values = PostmanLogFields::get_instance()->get( $post->ID );
- $sent_to = array_map( 'sanitize_email', explode( ',' , $meta_values ['to_header'] [0] ) );
+ $sent_to = array_map( 'esc_html', explode( ',' , $meta_values ['to_header'] [0] ) );
$flattenedPost = array(
// the post title must be escaped as they are displayed in the HTML output
'sent_to' => implode( ', ', $sent_to ),