Localization for wp-mail. Props filosofo. fixes #8051
git-svn-id: https://develop.svn.wordpress.org/trunk@9504 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c2d2f01baa
commit
6f0b606518
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