Don't echo posted content. Specialchars all other displayed info.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
42def106d2
commit
baf6e7b6ae
|
@ -182,8 +182,7 @@ for ($i=1; $i <= $count; $i++) :
|
||||||
do_action('publish_phone', $post_ID);
|
do_action('publish_phone', $post_ID);
|
||||||
|
|
||||||
echo "\n<p><b>Author:</b> " . wp_specialchars($post_author) . "</p>";
|
echo "\n<p><b>Author:</b> " . wp_specialchars($post_author) . "</p>";
|
||||||
echo "\n<p><b>Posted title:</b> " . sanitize_post_field('post_title', $post_title, $post_ID, 'display') . "<br />";
|
echo "\n<p><b>Posted title:</b> " . wp_specialchars($post_title) . "<br />";
|
||||||
echo "\n<b>Posted content:</b><br /><pre>". sanitize_post_field('post_content', $post_content, $post_ID, 'display') . '</pre></p>';
|
|
||||||
|
|
||||||
if(!$pop3->delete($i)) {
|
if(!$pop3->delete($i)) {
|
||||||
echo '<p>Oops '.wp_specialchars($pop3->ERROR).'</p></div>';
|
echo '<p>Oops '.wp_specialchars($pop3->ERROR).'</p></div>';
|
||||||
|
|
Loading…
Reference in New Issue