WordPress.org

Plugin Directory

Changeset 449317


Ignore:
Timestamp:
10/09/11 23:21:44 (3 years ago)
Author:
jaredatch
Message:

Push 1.1

Location:
bbpress-new-topic-notifications/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bbpress-new-topic-notifications/trunk/bbpress-topic-notifications.php

    r429831 r449317  
    44Plugin URI: http://wordpress.org/extend/bbpress-new-topic-notifications 
    55Description: Send notification emails to specific users when a new bbPress topic is posted. 
    6 Version: 1.0 
     6Version: 1.1 
    77Author: jaredatch 
    88Author URI: http://jaredatchison.com  
     
    220220        $recipients     = $this->get_recipients(); 
    221221        $blogname       = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ); 
    222         $topic_title    = bbp_get_topic_title( $topic_id ); 
    223         $topic_content  = bbp_get_topic_content( $topic_id ); 
    224         $topic_excerpt  = bbp_get_topic_excerpt( $topic_id, 100 ); 
     222        $topic_title    = html_entity_decode( strip_tags( bbp_get_topic_title( $topic_id ) ), ENT_NOQUOTES, 'UTF-8'); 
     223        $topic_content  = html_entity_decode( strip_tags( bbp_get_topic_content( $topic_id ) ), ENT_NOQUOTES, 'UTF-8'); 
     224        $topic_excerpt  = html_entity_decode( strip_tags( bbp_get_topic_excerpt( $topic_id, 100 ) ), ENT_NOQUOTES, 'UTF-8'); 
    225225        $topic_author   = bbp_get_topic_author( $topic_id ); 
    226226        $topic_url      = bbp_get_topic_permalink( $topic_id ); 
  • bbpress-new-topic-notifications/trunk/readme.txt

    r429855 r449317  
    1111== Description == 
    1212 
     13**This plugin is for bbPress 2.x** 
     14 
    1315Many people who run forums would like to know when a new topic (thread) has been posted but do not have the time to constantly check their forum for activity. This solves that! 
    1416 
     
    1618 
    1719See the [author website](http://www.jaredatchison.com/2011/08/28/bbpress-new-topic-notifications/). 
    18  
    19 Few notes:  
    20 - This plugin is for **bbPress 2.0**  
    21 - While `[topic-content]` is an available shortcode, it's not recommended. Currently the emails are sent plainext and the content shortcode will output html in your notification emails. 
    2220 
    2321 
     
    4038== Changelog == 
    4139 
     40= 1.1 = 
     41* Occassionally the shortcodes would put html and encoded characters in the email notifications. This should be fixed! 
     42 
    4243= 1.0 = 
    4344* Intial release. Let's do this. Props to johnjamesjacoby for the help. 
Note: See TracChangeset for help on using the changeset viewer.