[wp-trac] [WordPress Trac] #9913: Plain text emails sent with encoded quotes

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 11 08:15:56 UTC 2009


#9913: Plain text emails sent with encoded quotes
--------------------------+-------------------------------------------------
 Reporter:  Speedboxer    |       Owner:                        
     Type:  defect (bug)  |      Status:  new                   
 Priority:  normal        |   Milestone:  2.9                   
Component:  Mail          |     Version:  2.8                   
 Severity:  normal        |    Keywords:  has-patch dev-feedback
--------------------------+-------------------------------------------------

Comment(by tenpura):

 'blogname' is esc_htmled in sanitize_option().
 We may need to decode this back when mailing.
 {{{
 case 'blogname':
         $value = addslashes($value);
         $value = wp_filter_post_kses( $value ); // calls stripslashes then
 addslashes
         $value = stripslashes($value);
         $value = esc_html( $value );
         break;
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9913#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list