Changeset 436740
- Timestamp:
- 09/12/2011 11:28:33 AM (14 years ago)
- Location:
- wp-comment-notifier-for-all/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wp-comment-notifier-for-all.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-comment-notifier-for-all/trunk/readme.txt
r417977 r436740 2 2 3 3 Contributors: Fayçal Tirich 4 Donate link: http s://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=HDB7NGZL7BDXG&lc=US&item_name=%2eFay%20Labs¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted4 Donate link: http://faycaltirich.blogspot.com/1979/01/wp-comment-notifier-for-all.html 5 5 Tags: notify, comment, notifier 6 6 Requires at least: 3.0 7 7 Tested up to: 3.2.1 8 Stable tag: 2.2 8 Stable tag: 2.2.1 9 9 10 10 Notify all Wordpress users (and not only the admin) on comment approval. … … 27 27 == Changelog == 28 28 29 = 2.2.1 = 30 * Fixing a text/html content type problem with some email clients 31 29 32 = 2.2 = 30 33 * Adding [BLOG_NAME] as template to the notification body -
wp-comment-notifier-for-all/trunk/wp-comment-notifier-for-all.php
r417976 r436740 4 4 Plugin URI: http://faycaltirich.blogspot.com/1979/01/wp-comment-notifier-for-all.html 5 5 Description: Notify all Wordpress users (and not only the admin) on on comment approval. 6 Version: 2.2 6 Version: 2.2.1 7 7 Author: Fayçal Tirich 8 8 Author URI: http://faycaltirich.blogspot.com … … 142 142 $message_headers = "From: ".$cnfa_from."\n"; 143 143 $message_headers .= "MIME-Version: 1.0\n"; 144 $rand = md5(time()); 145 $mime_boundary = "----.fay----".$rand; 146 $message_headers .= "Content-Type: multipart/alternative; boundary=\"$mime_boundary\"\n"; 147 148 $message .= "--$mime_boundary\n"; 149 $message .= "Content-Type: text/html; charset=UTF-8\n"; 150 $message .= "Content-Transfer-Encoding: 8bit\n\n"; 144 $message_headers .= "Content-type: text/html; charset=UTF-8\r\n"; 145 151 146 $message .= "<html>\n"; 152 147 $message .= "<body style=\"font-family:Verdana, Verdana, Geneva, sans-serif; font-size:12px; color:#666666;\">\n"; … … 156 151 $message .= "</body>\n"; 157 152 $message .= "</html>\n"; 158 $message .= "--$mime_boundary--\n\n";159 153 160 154 add_filter('wp_mail_charset', 'cnfa_get_mail_charset');
Note: See TracChangeset
for help on using the changeset viewer.