Changeset 13510
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/bp-messages-filters.php
r12757 r13510 78 78 add_filter( 'bp_get_message_thread_content', 'stripslashes_deep', 1 ); 79 79 80 add_filter( 'bp_get_the_thread_subject', 'wp_staticize_emoji', 12 ); 81 add_filter( 'bp_get_message_thread_subject', 'wp_staticize_emoji', 12 ); 82 add_filter( 'bp_get_message_thread_excerpt', 'wp_staticize_emoji', 12 ); 83 add_filter( 'bp_get_the_thread_message_content', 'wp_staticize_emoji', 12 ); 84 add_filter( 'bp_get_message_thread_content', 'wp_staticize_emoji', 12 ); 85 80 86 add_filter( 'bp_get_the_thread_message_content', 'bp_core_add_loading_lazy_attribute' ); 81 87 -
trunk/src/bp-templates/bp-nouveau/buddypress/common/js-templates/messages/index.php
r13415 r13510 7 7 * 8 8 * @since 3.0.0 9 * @version 1 0.0.09 * @version 12.0.0 10 10 */ 11 11 … … 156 156 <div class="thread-subject"> 157 157 <span class="thread-count">({{data.count}})</span> 158 <a class="subject" href="./view/{{data.id}}/">{{ data.subject}}</a>159 </div> 160 <p class="excerpt">{{ data.excerpt}}</p>158 <a class="subject" href="./view/{{data.id}}/">{{{data.subject}}}</a> 159 </div> 160 <p class="excerpt">{{{data.excerpt}}}</p> 161 161 </div> 162 162 <div class="thread-date"> -
trunk/src/bp-templates/bp-nouveau/includes/messages/ajax.php
r13433 r13510 4 4 * 5 5 * @since 3.0.0 6 * @version 1 0.0.06 * @version 12.0.0 7 7 */ 8 8 … … 337 337 'id' => bp_get_message_thread_id(), 338 338 'message_id' => (int) $last_message_id, 339 'subject' => strip_tags( bp_get_message_thread_subject()),340 'excerpt' => strip_tags( bp_get_message_thread_excerpt()),339 'subject' => bp_get_message_thread_subject(), 340 'excerpt' => bp_get_message_thread_excerpt(), 341 341 'content' => do_shortcode( bp_get_message_thread_content() ), 342 342 'unread' => bp_message_thread_has_unread(),
Note: See TracChangeset
for help on using the changeset viewer.