WordPress.org

Plugin Directory

Changeset 612796


Ignore:
Timestamp:
10/15/12 15:02:21 (19 months ago)
Author:
kovshenin
Message:

Use html_entity_decode to decode things like & prior to sending e-mails in plain/text with Notify. Fixes #10.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • camptix/trunk/camptix.php

    r612795 r612796  
    259259                            $email_content = do_shortcode( $email->post_content ); 
    260260                            $email_title = do_shortcode( $email->post_title ); 
     261 
     262                            // Decode entities since the e-mails sent is a plain/text, not html. 
     263                            $email_title = html_entity_decode( $email_title ); 
     264                            $email_content = html_entity_decode( $email_content ); 
    261265 
    262266                            // Attempt to send an e-mail. 
Note: See TracChangeset for help on using the changeset viewer.