Skip to:
Content

BuddyPress.org

Changeset 1777


Ignore:
Timestamp:
09/03/2009 06:06:29 PM (17 years ago)
Author:
apeatling
Message:

Strip tags not needed as this is being run through a whole host of filters, stripping out the nasties already. Props DJPaul. Fixes #778

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-wire.php

    r1723 r1777  
    9696        $allowed_tags = apply_filters( 'bp_wire_post_allowed_tags', '<a><b><strong><i><em><img>' );
    9797               
    98         $message = strip_tags( $message, $allowed_tags );
    9998        $wire_post->content = apply_filters( 'bp_wire_post_content', $message );
    10099       
Note: See TracChangeset for help on using the changeset viewer.