diff --git a/wp-mail.php b/wp-mail.php index 7994babdee..6ec13abef0 100644 --- a/wp-mail.php +++ b/wp-mail.php @@ -182,8 +182,7 @@ for ($i=1; $i <= $count; $i++) : do_action('publish_phone', $post_ID); echo "\n

Author: " . wp_specialchars($post_author) . "

"; - echo "\n

Posted title: " . sanitize_post_field('post_title', $post_title, $post_ID, 'display') . "
"; - echo "\nPosted content:

". sanitize_post_field('post_content', $post_content, $post_ID, 'display') . '

'; + echo "\n

Posted title: " . wp_specialchars($post_title) . "
"; if(!$pop3->delete($i)) { echo '

Oops '.wp_specialchars($pop3->ERROR).'

';