diff options
author | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-08-24 22:08:56 +0000 |
---|---|---|
committer | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-08-24 22:08:56 +0000 |
commit | 59be4e796441e494f25b18ece7438dbf02442e47 (patch) | |
tree | dd893b6005411fa7621d3dd6a8ab0d5d664e75e4 /Postman/Postman-Email-Log/PostmanEmailLogView.php | |
parent | 0c1f84b79c768e695fff224730b823517d3c5cc9 (diff) | |
download | Post-SMTP-59be4e796441e494f25b18ece7438dbf02442e47.zip |
security + multiple replyTo addreses
Diffstat (limited to 'Postman/Postman-Email-Log/PostmanEmailLogView.php')
-rw-r--r-- | Postman/Postman-Email-Log/PostmanEmailLogView.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Postman/Postman-Email-Log/PostmanEmailLogView.php b/Postman/Postman-Email-Log/PostmanEmailLogView.php index 02da123..2f78ec0 100644 --- a/Postman/Postman-Email-Log/PostmanEmailLogView.php +++ b/Postman/Postman-Email-Log/PostmanEmailLogView.php @@ -2,7 +2,7 @@ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } -require_once dirname(__DIR__) . '/PostmanEmailLogs.php'; +require_once dirname(__DIR__) . '/PostmanLogFields.php'; /** * See http://wpengineer.com/2426/wp_list_table-a-step-by-step-guide/ @@ -96,7 +96,7 @@ class PostmanEmailLogView extends WP_List_Table { $transcriptUrl = admin_url( sprintf( $iframeUri, 'transcript', $item ['ID'] ) ); $resendUrl = admin_url( sprintf( $iframeUri, 'resend', $item ['ID'] ) ); - $meta_values = PostmanEmailLogs::get_data( $item ['ID'] ); + $meta_values = PostmanLogFields::get_instance()->get( $item ['ID'] ); $actions = array( 'delete' => sprintf( '<a href="%s">%s</a>', $deleteUrl, _x( 'Delete', 'Delete an item from the email log', 'post-smtp' ) ), @@ -373,7 +373,7 @@ class PostmanEmailLogView extends WP_List_Table { /* Translators: where %s indicates the relative time from now */ $date = sprintf( _x( '%s ago', 'A relative time as in "five days ago"', 'post-smtp' ), $humanTime ); } - $meta_values = PostmanEmailLogs::get_data( $post->ID ); + $meta_values = PostmanLogFields::get_instance()->get( $post->ID ); $sent_to = array_map( 'sanitize_email', explode( ',' , $meta_values ['to_header'] [0] ) ); $flattenedPost = array( // the post title must be escaped as they are displayed in the HTML output |