Make WordPress Core


Ignore:
Timestamp:
03/28/2014 02:43:04 AM (12 years ago)
Author:
nacin
Message:

Always decode special characters for email subjects.

props tlovett1, jeremyfelt.
fixes #25346.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r27568 r27801  
    11691169
    11701170    foreach ( $emails as $email ) {
    1171         @wp_mail( $email, $subject, $notify_message, $message_headers );
     1171        @wp_mail( $email, wp_specialchars_decode( $subject ), $notify_message, $message_headers );
    11721172    }
    11731173
     
    12561256
    12571257    foreach ( $emails as $email ) {
    1258         @wp_mail( $email, $subject, $notify_message, $message_headers );
     1258        @wp_mail( $email, wp_specialchars_decode( $subject ), $notify_message, $message_headers );
    12591259    }
    12601260
Note: See TracChangeset for help on using the changeset viewer.