mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 06:57:35 +01:00
Localization for wp-mail. Props filosofo. fixes #8051
git-svn-id: http://svn.automattic.com/wordpress/trunk@9504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
23feb0523b
commit
0f33f00e43
10
wp-mail.php
10
wp-mail.php
@ -185,19 +185,19 @@ for ($i=1; $i <= $count; $i++) :
|
||||
|
||||
do_action('publish_phone', $post_ID);
|
||||
|
||||
echo "\n<p><b>Author:</b> " . wp_specialchars($post_author) . "</p>";
|
||||
echo "\n<p><b>Posted title:</b> " . wp_specialchars($post_title) . "<br />";
|
||||
echo "\n<p>" . sprintf(__('<strong>Author:</strong> %s'), wp_specialchars($post_author)) . '</p>';
|
||||
echo "\n<p>" . sprintf(__('<strong>Posted title:</strong> %s'), wp_specialchars($post_title)) . '</p>';
|
||||
|
||||
if(!$pop3->delete($i)) {
|
||||
echo '<p>Oops '.wp_specialchars($pop3->ERROR).'</p></div>';
|
||||
echo '<p>' . sprintf(__('Oops: %s'), wp_specialchars($pop3->ERROR)) . '</p>';
|
||||
$pop3->reset();
|
||||
exit;
|
||||
} else {
|
||||
echo "<p>Mission complete, message <strong>$i</strong> deleted.</p>";
|
||||
echo '<p>' . sprintf(__('Mission complete. Message <strong>%s</strong> deleted.'), $i) . '</p>';
|
||||
}
|
||||
|
||||
endfor;
|
||||
|
||||
$pop3->quit();
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user