Plugin Directory

Changeset 509747


Ignore:
Timestamp:
02/24/2012 10:50:46 AM (14 years ago)
Author:
.fay
Message:

v2.5

  • Adding [CONTENT] in email body template
Location:
wp-post-notifier-for-all/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-post-notifier-for-all/trunk/readme.txt

    r509735 r509747  
    66Requires at least: 3.0
    77Tested up to: 3.3.1
    8 Stable tag: 2.4
     8Stable tag: 2.5
    99
    1010Notify all Wordpress users (and not only the admin) on post publishing.
     
    2626
    2727== Changelog ==
     28= 2.5 =
     29* Adding [CONTENT] in email body template
     30
    2831= 2.4 =
    2932* Excluding post owner from notification
  • wp-post-notifier-for-all/trunk/wp-post-notifier-for-all.php

    r509735 r509747  
    44Plugin URI: http://faycaltirich.blogspot.com/1979/01/wp-post-notifier-for-all.html
    55Description: Notify all Wordpress users (and not only the admin) on post publishing. The notification is sent only one time after the first post publishing(not on every update).
    6 Version: 2.4
     6Version: 2.5
    77Author: Fayçal Tirich
    88Author URI: http://faycaltirich.blogspot.com
     
    2323In: [CATEGORIES]<br /><br />
    2424[EXCERPT]<br /><br />
     25[CONTENT]<br /><br />
    2526[LINK]<br /><br />
    2627Good reading !<br /><br />
     
    109110        $email_pnfa_body = str_replace('[TITLE]', htmlspecialchars_decode($post->post_title), $email_pnfa_body);
    110111        $email_pnfa_body = str_replace('[EXCERPT]', htmlspecialchars_decode($post->post_excerpt), $email_pnfa_body);
     112        $email_pnfa_body = str_replace('[CONTENT]', htmlspecialchars_decode($post->post_content), $email_pnfa_body);
    111113        $email_pnfa_body = str_replace('[BLOG_NAME]',html_entity_decode(get_bloginfo('name'), ENT_QUOTES), $email_pnfa_body);
    112114       
Note: See TracChangeset for help on using the changeset viewer.