Better Notifications for WordPress - Version 0.2.1b

Version Description

Download this release

Release Info

Developer voltronik
Plugin Icon 128x128 Better Notifications for WordPress
Version 0.2.1b
Comparing to
See all releases

Code changes from version 0.2b to 0.2.1b

README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: voltronik, peterrocker
3
  Tags: notifications, email, roles, custom
4
  Requires at least: 3.5
5
  Tested up to: 3.5
6
- Stable tag: 0.2b
7
  License: GPLv3
8
 
9
  Send customisable HTML emails to user roles for different WordPress notifications.
@@ -94,6 +94,9 @@ It's possible you're inserting a shortcode into an email for a notification that
94
 
95
  == Changelog ==
96
 
 
 
 
97
  = 0.2 beta =
98
  * Added an option to suppress spam comment notifications.
99
 
3
  Tags: notifications, email, roles, custom
4
  Requires at least: 3.5
5
  Tested up to: 3.5
6
+ Stable tag: 0.2.1b
7
  License: GPLv3
8
 
9
  Send customisable HTML emails to user roles for different WordPress notifications.
94
 
95
  == Changelog ==
96
 
97
+ = 0.2.1 beta =
98
+ * Minor Bugfixes
99
+
100
  = 0.2 beta =
101
  * Added an option to suppress spam comment notifications.
102
 
better-wordpress-notifications.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Better Notifications for WordPress
4
  Plugin URI: http://wordpress.org/extend/plugins/bnfw/
5
  Description: Send customisable HTML emails to user roles for different WordPress notifications.
6
- Version: 0.2 Beta
7
  Author: Voltronik
8
  Author URI: http://www.voltronik.co.uk/
9
  Author Email: hello@voltronik.co.uk
3
  Plugin Name: Better Notifications for WordPress
4
  Plugin URI: http://wordpress.org/extend/plugins/bnfw/
5
  Description: Send customisable HTML emails to user roles for different WordPress notifications.
6
+ Version: 0.2.1 Beta
7
  Author: Voltronik
8
  Author URI: http://www.voltronik.co.uk/
9
  Author Email: hello@voltronik.co.uk
includes/bnfw_engine.php CHANGED
@@ -73,14 +73,14 @@ function bnfw_get_subject_for_publish_post($the_post){
73
  }
74
 
75
  $message_body = str_replace("[post_category]", $category_list, $message_body);
76
- $message_body = str_replace("[post_excerpt]", implode(", ", $the_post->post_excerpt), $message_body);
77
  $message_body = str_replace("[post_status]", $the_post->post_status, $message_body);
78
  $message_body = str_replace("[comment_status]", $the_post->comment_status, $message_body);
79
  $message_body = str_replace("[ping_status]", $the_post->ping_status, $message_body);
80
  $message_body = str_replace("[post_password]", $the_post->post_password, $message_body);
81
  $message_body = str_replace("[post_name]", $the_post->post_name, $message_body);
82
  $message_body = str_replace("[to_ping]", $the_post->to_ping, $message_body);
83
- $message_body = str_replace("[pinged]", implode(", ", $the_post->pinged), $message_body);
84
  $message_body = str_replace("[post_modified]", $the_post->post_modified, $message_body);
85
  $message_body = str_replace("[post_modified_gmt]", $the_post->post_modified_gmt, $message_body);
86
  $message_body = str_replace("[post_content_filtered]", $the_post->post_content_filtered, $message_body);
@@ -101,10 +101,10 @@ function bnfw_get_subject_for_publish_post($the_post){
101
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
102
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
103
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
104
- $message_body = str_replace("[wp_capabilities]", implode(", ", $user_info->wp_capabilities), $message_body);
105
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
106
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
107
- $message_body = str_replace("[primary_blog]", implode(", ", $user_info->primary_blog), $message_body);
108
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
109
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
110
 
@@ -158,10 +158,10 @@ function bnfw_get_subject_for_comment_post($the_comment){
158
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
159
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
160
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
161
- $message_body = str_replace("[wp_capabilities]", implode(", ", $user_info->wp_capabilities), $message_body);
162
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
163
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
164
- $message_body = str_replace("[primary_blog]", implode(", ", $user_info->primary_blog), $message_body);
165
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
166
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
167
 
@@ -179,14 +179,14 @@ function bnfw_get_subject_for_comment_post($the_comment){
179
  }
180
 
181
  $message_body = str_replace("[post_category]", $category_list, $message_body);
182
- $message_body = str_replace("[post_excerpt]", implode(", ", $the_post->post_excerpt), $message_body);
183
  $message_body = str_replace("[post_status]", $the_post->post_status, $message_body);
184
  $message_body = str_replace("[comment_status]", $the_post->comment_status, $message_body);
185
  $message_body = str_replace("[ping_status]", $the_post->ping_status, $message_body);
186
  $message_body = str_replace("[post_password]", $the_post->post_password, $message_body);
187
  $message_body = str_replace("[post_name]", $the_post->post_name, $message_body);
188
  $message_body = str_replace("[to_ping]", $the_post->to_ping, $message_body);
189
- $message_body = str_replace("[pinged]", implode(", ", $the_post->pinged), $message_body);
190
  $message_body = str_replace("[post_modified]", $the_post->post_modified, $message_body);
191
  $message_body = str_replace("[post_modified_gmt]", $the_post->post_modified_gmt, $message_body);
192
  $message_body = str_replace("[post_content_filtered]", $the_post->post_content_filtered, $message_body);
@@ -215,10 +215,10 @@ function bnfw_get_subject_for_user_register($user_info){
215
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
216
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
217
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
218
- $message_body = str_replace("[wp_capabilities]", implode(", ", $user_info->wp_capabilities), $message_body);
219
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
220
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
221
- $message_body = str_replace("[primary_blog]", implode(", ", $user_info->primary_blog), $message_body);
222
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
223
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
224
 
@@ -257,10 +257,10 @@ function bnfw_get_subject_for_trackback_post($the_comment){
257
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
258
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
259
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
260
- $message_body = str_replace("[wp_capabilities]", implode(", ", $user_info->wp_capabilities), $message_body);
261
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
262
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
263
- $message_body = str_replace("[primary_blog]", implode(", ", $user_info->primary_blog), $message_body);
264
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
265
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
266
 
@@ -298,10 +298,10 @@ function bnfw_get_subject_for_pingback_post($the_comment){
298
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
299
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
300
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
301
- $message_body = str_replace("[wp_capabilities]", implode(", ", $user_info->wp_capabilities), $message_body);
302
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
303
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
304
- $message_body = str_replace("[primary_blog]", implode(", ", $user_info->primary_blog), $message_body);
305
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
306
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
307
 
@@ -323,10 +323,10 @@ function bnfw_get_subject_for_lostpassword_post($user_info){
323
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
324
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
325
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
326
- $message_body = str_replace("[wp_capabilities]", implode(", ", $user_info->wp_capabilities), $message_body);
327
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
328
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
329
- $message_body = str_replace("[primary_blog]", implode(", ", $user_info->primary_blog), $message_body);
330
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
331
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
332
 
@@ -360,14 +360,14 @@ function bnfw_get_payload_for_publish_post($the_post){
360
  }
361
 
362
  $message_body = str_replace("[post_category]", $category_list, $message_body);
363
- $message_body = str_replace("[post_excerpt]", implode(", ", $the_post->post_excerpt), $message_body);
364
  $message_body = str_replace("[post_status]", $the_post->post_status, $message_body);
365
  $message_body = str_replace("[comment_status]", $the_post->comment_status, $message_body);
366
  $message_body = str_replace("[ping_status]", $the_post->ping_status, $message_body);
367
  $message_body = str_replace("[post_password]", $the_post->post_password, $message_body);
368
  $message_body = str_replace("[post_name]", $the_post->post_name, $message_body);
369
  $message_body = str_replace("[to_ping]", $the_post->to_ping, $message_body);
370
- $message_body = str_replace("[pinged]", implode(", ", $the_post->pinged), $message_body);
371
  $message_body = str_replace("[post_modified]", $the_post->post_modified, $message_body);
372
  $message_body = str_replace("[post_modified_gmt]", $the_post->post_modified_gmt, $message_body);
373
  $message_body = str_replace("[post_content_filtered]", $the_post->post_content_filtered, $message_body);
@@ -388,10 +388,10 @@ function bnfw_get_payload_for_publish_post($the_post){
388
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
389
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
390
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
391
- $message_body = str_replace("[wp_capabilities]", implode(", ", $user_info->wp_capabilities), $message_body);
392
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
393
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
394
- $message_body = str_replace("[primary_blog]", implode(", ", $user_info->primary_blog), $message_body);
395
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
396
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
397
 
@@ -443,10 +443,10 @@ function bnfw_get_payload_for_comment_post($the_comment){
443
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
444
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
445
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
446
- $message_body = str_replace("[wp_capabilities]", implode(", ", $user_info->wp_capabilities), $message_body);
447
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
448
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
449
- $message_body = str_replace("[primary_blog]", implode(", ", $user_info->primary_blog), $message_body);
450
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
451
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
452
 
@@ -464,14 +464,14 @@ function bnfw_get_payload_for_comment_post($the_comment){
464
  }
465
 
466
  $message_body = str_replace("[post_category]", $category_list, $message_body);
467
- $message_body = str_replace("[post_excerpt]", implode(", ", $the_post->post_excerpt), $message_body);
468
  $message_body = str_replace("[post_status]", $the_post->post_status, $message_body);
469
  $message_body = str_replace("[comment_status]", $the_post->comment_status, $message_body);
470
  $message_body = str_replace("[ping_status]", $the_post->ping_status, $message_body);
471
  $message_body = str_replace("[post_password]", $the_post->post_password, $message_body);
472
  $message_body = str_replace("[post_name]", $the_post->post_name, $message_body);
473
  $message_body = str_replace("[to_ping]", $the_post->to_ping, $message_body);
474
- $message_body = str_replace("[pinged]", implode(", ", $the_post->pinged), $message_body);
475
  $message_body = str_replace("[post_modified]", $the_post->post_modified, $message_body);
476
  $message_body = str_replace("[post_modified_gmt]", $the_post->post_modified_gmt, $message_body);
477
  $message_body = str_replace("[post_content_filtered]", $the_post->post_content_filtered, $message_body);
@@ -501,10 +501,10 @@ function bnfw_get_payload_for_user_register($user_info){
501
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
502
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
503
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
504
- $message_body = str_replace("[wp_capabilities]", implode(", ", $user_info->wp_capabilities), $message_body);
505
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
506
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
507
- $message_body = str_replace("[primary_blog]", implode(", ", $user_info->primary_blog), $message_body);
508
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
509
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
510
 
@@ -544,10 +544,10 @@ function bnfw_get_payload_for_trackback_post($the_comment){$message_body = $bnfw
544
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
545
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
546
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
547
- $message_body = str_replace("[wp_capabilities]", implode(", ", $user_info->wp_capabilities), $message_body);
548
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
549
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
550
- $message_body = str_replace("[primary_blog]", implode(", ", $user_info->primary_blog), $message_body);
551
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
552
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
553
 
@@ -586,10 +586,10 @@ function bnfw_get_payload_for_pingback_post($the_comment){
586
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
587
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
588
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
589
- $message_body = str_replace("[wp_capabilities]", implode(", ", $user_info->wp_capabilities), $message_body);
590
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
591
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
592
- $message_body = str_replace("[primary_blog]", implode(", ", $user_info->primary_blog), $message_body);
593
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
594
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
595
 
@@ -612,10 +612,10 @@ function bnfw_get_payload_for_lostpassword_post($user_info){
612
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
613
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
614
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
615
- $message_body = str_replace("[wp_capabilities]", implode(", ", $user_info->wp_capabilities), $message_body);
616
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
617
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
618
- $message_body = str_replace("[primary_blog]", implode(", ", $user_info->primary_blog), $message_body);
619
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
620
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
621
 
73
  }
74
 
75
  $message_body = str_replace("[post_category]", $category_list, $message_body);
76
+ $message_body = str_replace("[post_excerpt]", $the_post->post_excerpt, $message_body);
77
  $message_body = str_replace("[post_status]", $the_post->post_status, $message_body);
78
  $message_body = str_replace("[comment_status]", $the_post->comment_status, $message_body);
79
  $message_body = str_replace("[ping_status]", $the_post->ping_status, $message_body);
80
  $message_body = str_replace("[post_password]", $the_post->post_password, $message_body);
81
  $message_body = str_replace("[post_name]", $the_post->post_name, $message_body);
82
  $message_body = str_replace("[to_ping]", $the_post->to_ping, $message_body);
83
+ $message_body = str_replace("[pinged]", $the_post->pinged, $message_body);
84
  $message_body = str_replace("[post_modified]", $the_post->post_modified, $message_body);
85
  $message_body = str_replace("[post_modified_gmt]", $the_post->post_modified_gmt, $message_body);
86
  $message_body = str_replace("[post_content_filtered]", $the_post->post_content_filtered, $message_body);
101
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
102
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
103
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
104
+ $message_body = str_replace("[wp_capabilities]", $user_info->wp_capabilities, $message_body);
105
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
106
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
107
+ $message_body = str_replace("[primary_blog]", $user_info->primary_blog, $message_body);
108
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
109
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
110
 
158
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
159
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
160
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
161
+ $message_body = str_replace("[wp_capabilities]", $user_info->wp_capabilities, $message_body);
162
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
163
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
164
+ $message_body = str_replace("[primary_blog]", $user_info->primary_blog, $message_body);
165
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
166
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
167
 
179
  }
180
 
181
  $message_body = str_replace("[post_category]", $category_list, $message_body);
182
+ $message_body = str_replace("[post_excerpt]", $the_post->post_excerpt, $message_body);
183
  $message_body = str_replace("[post_status]", $the_post->post_status, $message_body);
184
  $message_body = str_replace("[comment_status]", $the_post->comment_status, $message_body);
185
  $message_body = str_replace("[ping_status]", $the_post->ping_status, $message_body);
186
  $message_body = str_replace("[post_password]", $the_post->post_password, $message_body);
187
  $message_body = str_replace("[post_name]", $the_post->post_name, $message_body);
188
  $message_body = str_replace("[to_ping]", $the_post->to_ping, $message_body);
189
+ $message_body = str_replace("[pinged]", $the_post->pinged, $message_body);
190
  $message_body = str_replace("[post_modified]", $the_post->post_modified, $message_body);
191
  $message_body = str_replace("[post_modified_gmt]", $the_post->post_modified_gmt, $message_body);
192
  $message_body = str_replace("[post_content_filtered]", $the_post->post_content_filtered, $message_body);
215
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
216
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
217
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
218
+ $message_body = str_replace("[wp_capabilities]", $user_info->wp_capabilities, $message_body);
219
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
220
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
221
+ $message_body = str_replace("[primary_blog]", $user_info->primary_blog, $message_body);
222
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
223
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
224
 
257
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
258
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
259
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
260
+ $message_body = str_replace("[wp_capabilities]", $user_info->wp_capabilities, $message_body);
261
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
262
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
263
+ $message_body = str_replace("[primary_blog]", $user_info->primary_blog, $message_body);
264
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
265
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
266
 
298
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
299
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
300
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
301
+ $message_body = str_replace("[wp_capabilities]", $user_info->wp_capabilities, $message_body);
302
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
303
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
304
+ $message_body = str_replace("[primary_blog]", $user_info->primary_blog, $message_body);
305
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
306
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
307
 
323
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
324
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
325
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
326
+ $message_body = str_replace("[wp_capabilities]", $user_info->wp_capabilities, $message_body);
327
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
328
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
329
+ $message_body = str_replace("[primary_blog]", $user_info->primary_blog, $message_body);
330
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
331
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
332
 
360
  }
361
 
362
  $message_body = str_replace("[post_category]", $category_list, $message_body);
363
+ $message_body = str_replace("[post_excerpt]", $the_post->post_excerpt, $message_body);
364
  $message_body = str_replace("[post_status]", $the_post->post_status, $message_body);
365
  $message_body = str_replace("[comment_status]", $the_post->comment_status, $message_body);
366
  $message_body = str_replace("[ping_status]", $the_post->ping_status, $message_body);
367
  $message_body = str_replace("[post_password]", $the_post->post_password, $message_body);
368
  $message_body = str_replace("[post_name]", $the_post->post_name, $message_body);
369
  $message_body = str_replace("[to_ping]", $the_post->to_ping, $message_body);
370
+ $message_body = str_replace("[pinged]", $the_post->pinged, $message_body);
371
  $message_body = str_replace("[post_modified]", $the_post->post_modified, $message_body);
372
  $message_body = str_replace("[post_modified_gmt]", $the_post->post_modified_gmt, $message_body);
373
  $message_body = str_replace("[post_content_filtered]", $the_post->post_content_filtered, $message_body);
388
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
389
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
390
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
391
+ $message_body = str_replace("[wp_capabilities]", $user_info->wp_capabilities, $message_body);
392
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
393
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
394
+ $message_body = str_replace("[primary_blog]", $user_info->primary_blog, $message_body);
395
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
396
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
397
 
443
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
444
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
445
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
446
+ $message_body = str_replace("[wp_capabilities]", $user_info->wp_capabilities, $message_body);
447
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
448
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
449
+ $message_body = str_replace("[primary_blog]", $user_info->primary_blog, $message_body);
450
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
451
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
452
 
464
  }
465
 
466
  $message_body = str_replace("[post_category]", $category_list, $message_body);
467
+ $message_body = str_replace("[post_excerpt]", $the_post->post_excerpt, $message_body);
468
  $message_body = str_replace("[post_status]", $the_post->post_status, $message_body);
469
  $message_body = str_replace("[comment_status]", $the_post->comment_status, $message_body);
470
  $message_body = str_replace("[ping_status]", $the_post->ping_status, $message_body);
471
  $message_body = str_replace("[post_password]", $the_post->post_password, $message_body);
472
  $message_body = str_replace("[post_name]", $the_post->post_name, $message_body);
473
  $message_body = str_replace("[to_ping]", $the_post->to_ping, $message_body);
474
+ $message_body = str_replace("[pinged]", $the_post->pinged, $message_body);
475
  $message_body = str_replace("[post_modified]", $the_post->post_modified, $message_body);
476
  $message_body = str_replace("[post_modified_gmt]", $the_post->post_modified_gmt, $message_body);
477
  $message_body = str_replace("[post_content_filtered]", $the_post->post_content_filtered, $message_body);
501
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
502
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
503
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
504
+ $message_body = str_replace("[wp_capabilities]", $user_info->wp_capabilities, $message_body);
505
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
506
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
507
+ $message_body = str_replace("[primary_blog]", $user_info->primary_blog, $message_body);
508
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
509
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
510
 
544
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
545
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
546
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
547
+ $message_body = str_replace("[wp_capabilities]", $user_info->wp_capabilities, $message_body);
548
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
549
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
550
+ $message_body = str_replace("[primary_blog]", $user_info->primary_blog, $message_body);
551
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
552
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
553
 
586
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
587
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
588
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
589
+ $message_body = str_replace("[wp_capabilities]", $user_info->wp_capabilities, $message_body);
590
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
591
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
592
+ $message_body = str_replace("[primary_blog]", $user_info->primary_blog, $message_body);
593
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
594
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
595
 
612
  $message_body = str_replace("[user_lastname]", $user_info->user_lastname, $message_body);
613
  $message_body = str_replace("[nickname]", $user_info->nickname, $message_body);
614
  $message_body = str_replace("[user_description]", $user_info->user_description, $message_body);
615
+ $message_body = str_replace("[wp_capabilities]", $user_info->wp_capabilities, $message_body);
616
  $message_body = str_replace("[admin_color]", $user_info->admin_color, $message_body);
617
  $message_body = str_replace("[closedpostboxes_page]", $user_info->closedpostboxes_page, $message_body);
618
+ $message_body = str_replace("[primary_blog]", $user_info->primary_blog, $message_body);
619
  $message_body = str_replace("[rich_editing]", $user_info->rich_editing, $message_body);
620
  $message_body = str_replace("[source_domain]", $user_info->source_domain, $message_body);
621