Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/02/2024 05:52:42 PM (12 months ago)
Author:
espellcaste
Message:

Use wp_strip_all_tags instead of strip_tags.

Props imath
Closes https://github.com/buddypress/buddypress/pull/306
See #7228

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/messages/ajax.php

    r13878 r13897  
    503503        $thread->thread = array(
    504504            'id'      => bp_get_the_thread_id(),
    505             'subject' => strip_tags( bp_get_the_thread_subject() ),
     505            'subject' => wp_strip_all_tags( bp_get_the_thread_subject() ),
    506506        );
    507507
Note: See TracChangeset for help on using the changeset viewer.