Changeset 1998592
- Timestamp:
- 12/20/2018 08:00:43 AM (7 years ago)
- Location:
- asyncronous-bbpress-subscriptions
- Files:
-
- 2 edited
-
tags/3.4/readme.txt (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
asyncronous-bbpress-subscriptions/tags/3.4/readme.txt
r1997836 r1998592 55 55 $topic_author_user_id = bbp_get_topic_author_id( $topic_id ); 56 56 $topic_author_display_name = bbp_get_topic_author_display_name( $topic_id ); 57 $topic_title = strip_tags( bbp_get_topic_title( $topic_id ));58 $topic_content = strip_tags( bbp_get_topic_content( $topic_id ));57 $topic_title = wp_specialchars_decode( strip_tags( bbp_get_topic_title( $topic_id ) ), ENT_QUOTES ); 58 $topic_content = wp_specialchars_decode( strip_tags( bbp_get_topic_content( $topic_id ) ), ENT_QUOTES ); 59 59 $topic_url = get_permalink( $topic_id ); 60 60 … … 71 71 $blog_name = get_bloginfo( 'name' ); 72 72 $topic_author_display_name = bbp_get_topic_author_display_name( $topic_id ); 73 $topic_title = strip_tags( bbp_get_topic_title( $topic_id ));73 $topic_title = wp_specialchars_decode( strip_tags( bbp_get_topic_title( $topic_id ) ), ENT_QUOTES ); 74 74 return "[$blog_name] $topic_author_display_name created a new topic: $topic_title"; 75 75 }, 10, 3); // first is priority (10 is default and just fine), second is number of arguments your filter expects -
asyncronous-bbpress-subscriptions/trunk/readme.txt
r1997836 r1998592 55 55 $topic_author_user_id = bbp_get_topic_author_id( $topic_id ); 56 56 $topic_author_display_name = bbp_get_topic_author_display_name( $topic_id ); 57 $topic_title = strip_tags( bbp_get_topic_title( $topic_id ));58 $topic_content = strip_tags( bbp_get_topic_content( $topic_id ));57 $topic_title = wp_specialchars_decode( strip_tags( bbp_get_topic_title( $topic_id ) ), ENT_QUOTES ); 58 $topic_content = wp_specialchars_decode( strip_tags( bbp_get_topic_content( $topic_id ) ), ENT_QUOTES ); 59 59 $topic_url = get_permalink( $topic_id ); 60 60 … … 71 71 $blog_name = get_bloginfo( 'name' ); 72 72 $topic_author_display_name = bbp_get_topic_author_display_name( $topic_id ); 73 $topic_title = strip_tags( bbp_get_topic_title( $topic_id ));73 $topic_title = wp_specialchars_decode( strip_tags( bbp_get_topic_title( $topic_id ) ), ENT_QUOTES ); 74 74 return "[$blog_name] $topic_author_display_name created a new topic: $topic_title"; 75 75 }, 10, 3); // first is priority (10 is default and just fine), second is number of arguments your filter expects
Note: See TracChangeset
for help on using the changeset viewer.