Changeset 11380 for trunk/wp-mail.php
- Timestamp:
- 05/18/2009 03:11:07 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-mail.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-mail.php
r11190 r11380 24 24 ( ! $count = $pop3->pass(get_option('mailserver_pass')) ) ) { 25 25 $pop3->quit(); 26 wp_die( ( 0 === $count ) ? __('There doesn’t seem to be any new mail.') : wp_specialchars($pop3->ERROR) );26 wp_die( ( 0 === $count ) ? __('There doesn’t seem to be any new mail.') : esc_html($pop3->ERROR) ); 27 27 } 28 28 … … 196 196 do_action('publish_phone', $post_ID); 197 197 198 echo "\n<p>" . sprintf(__('<strong>Author:</strong> %s'), wp_specialchars($post_author)) . '</p>';199 echo "\n<p>" . sprintf(__('<strong>Posted title:</strong> %s'), wp_specialchars($post_title)) . '</p>';198 echo "\n<p>" . sprintf(__('<strong>Author:</strong> %s'), esc_html($post_author)) . '</p>'; 199 echo "\n<p>" . sprintf(__('<strong>Posted title:</strong> %s'), esc_html($post_title)) . '</p>'; 200 200 201 201 if(!$pop3->delete($i)) { 202 echo '<p>' . sprintf(__('Oops: %s'), wp_specialchars($pop3->ERROR)) . '</p>';202 echo '<p>' . sprintf(__('Oops: %s'), esc_html($pop3->ERROR)) . '</p>'; 203 203 $pop3->reset(); 204 204 exit;
Note: See TracChangeset
for help on using the changeset viewer.