Changeset 6904
- Timestamp:
- 05/01/2019 07:22:42 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/functions.php
r6898 r6904 1091 1091 1092 1092 // Strip tags from text and setup mail data 1093 $blog_name = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ); 1094 $topic_title = wp_specialchars_decode( strip_tags( bbp_get_topic_title( $topic_id ) ), ENT_QUOTES ); 1095 $reply_content = wp_specialchars_decode( strip_tags( bbp_get_reply_content( $reply_id ) ), ENT_QUOTES ); 1096 $reply_url = bbp_get_reply_url( $reply_id ); 1093 $blog_name = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ); 1094 $topic_title = wp_specialchars_decode( strip_tags( bbp_get_topic_title( $topic_id ) ), ENT_QUOTES ); 1095 $reply_author_name = wp_specialchars_decode( strip_tags( $reply_author_name ), ENT_QUOTES ); 1096 $reply_content = wp_specialchars_decode( strip_tags( bbp_get_reply_content( $reply_id ) ), ENT_QUOTES ); 1097 $reply_url = bbp_get_reply_url( $reply_id ); 1097 1098 1098 1099 // For plugins to filter messages per reply/topic/user … … 1252 1253 1253 1254 // Strip tags from text and setup mail data 1254 $blog_name = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ); 1255 $topic_title = wp_specialchars_decode( strip_tags( bbp_get_topic_title( $topic_id ) ), ENT_QUOTES ); 1256 $topic_content = wp_specialchars_decode( strip_tags( bbp_get_topic_content( $topic_id ) ), ENT_QUOTES ); 1257 $topic_url = get_permalink( $topic_id ); 1255 $blog_name = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ); 1256 $topic_title = wp_specialchars_decode( strip_tags( bbp_get_topic_title( $topic_id ) ), ENT_QUOTES ); 1257 $topic_author_name = wp_specialchars_decode( strip_tags( $topic_author_name ), ENT_QUOTES ); 1258 $topic_content = wp_specialchars_decode( strip_tags( bbp_get_topic_content( $topic_id ) ), ENT_QUOTES ); 1259 $topic_url = get_permalink( $topic_id ); 1258 1260 1259 1261 // For plugins to filter messages per reply/topic/user
Note: See TracChangeset
for help on using the changeset viewer.