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-core/classes/class-bp-media-extractor.php

    r13893 r13897  
    933933     */
    934934    protected function strip_markup( $richtext ) {
    935         $plaintext = strip_shortcodes( html_entity_decode( strip_tags( $richtext ) ) );
     935        $plaintext = strip_shortcodes( html_entity_decode( wp_strip_all_tags( $richtext ) ) );
    936936
    937937        /**
Note: See TracChangeset for help on using the changeset viewer.