Changeset 6524

Show
Ignore:
Timestamp:
12/29/07 19:20:15 (8 months ago)
Author:
ryan
Message:

Don't echo posted content. Specialchars all other displayed info.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-mail.php

    r6500 r6524  
    183183 
    184184    echo "\n<p><b>Author:</b> " . wp_specialchars($post_author) . "</p>"; 
    185     echo "\n<p><b>Posted title:</b> " . sanitize_post_field('post_title', $post_title, $post_ID, 'display') . "<br />"; 
    186     echo "\n<b>Posted content:</b><br /><pre>". sanitize_post_field('post_content', $post_content, $post_ID, 'display') . '</pre></p>'; 
     185    echo "\n<p><b>Posted title:</b> " . wp_specialchars($post_title) . "<br />"; 
    187186 
    188187    if(!$pop3->delete($i)) {