Changeset 6525

Show
Ignore:
Timestamp:
12/29/07 19:21:10 (10 months ago)
Author:
ryan
Message:

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

Files:

Legend:

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

    r6502 r6525  
    163163 
    164164    echo "\n<p><b>Author:</b> " . wp_specialchars($post_author) . "</p>"; 
    165     echo "\n<p><b>Posted title:</b> " . sanitize_post_field('post_title', $post_title, $post_ID, 'display') . "<br />"; 
    166     echo "\n<b>Posted content:</b><br /><pre>". sanitize_post_field('post_content', $post_content, $post_ID, 'display') . '</pre></p>'; 
     165    echo "\n<p><b>Posted title:</b> " . wp_specialchars($post_title) . "<br />"; 
    167166 
    168167    if(!$pop3->delete($i)) {