WordPress.org

Make WordPress Core

Ticket #31871: 31871.3.patch

File 31871.3.patch, 985 bytes (added by ramiy, 7 years ago)
  • wp-mail.php

     
    244244         */
    245245        do_action( 'publish_phone', $post_ID );
    246246
    247         echo "\n<p>" . sprintf(__('<strong>Author:</strong> %s'), esc_html($post_author)) . '</p>';
    248         echo "\n<p>" . sprintf(__('<strong>Posted title:</strong> %s'), esc_html($post_title)) . '</p>';
     247        echo "\n<p><strong>" . __('Author:') . '</strong> ' . esc_html($post_author) . '</p>';
     248        echo "\n<p><strong>" . __('Posted title:') . '</strong> ' . esc_html($post_title) . '</p>';
    249249
    250250        if(!$pop3->delete($i)) {
    251251                echo '<p>' . sprintf(__('Oops: %s'), esc_html($pop3->ERROR)) . '</p>';
     
    252252                $pop3->reset();
    253253                exit;
    254254        } else {
    255                 echo '<p>' . sprintf(__('Mission complete. Message <strong>%s</strong> deleted.'), $i) . '</p>';
     255                echo '<p>' . sprintf(__('Mission complete. Message %s deleted.'), '<strong>' . $i . '</strong>') . '</p>';
    256256        }
    257257
    258258}