Skip to:
Content

BuddyPress.org

Changeset 1412


Ignore:
Timestamp:
04/27/2009 03:16:05 PM (17 years ago)
Author:
apeatling
Message:

Fixing filter call and strip_tags call in bp-wire.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages/bp-messages-ajax.php

    r1366 r1412  
    1717                <small><?php echo bp_format_time($result['reply']->date_sent) ?></small>
    1818            </div>
    19             <?php echo stripslashes( apply_filters( 'bp_message_content', $result['reply']->message ) ) ?>
     19            <?php echo stripslashes( apply_filters( 'bp_get_message_content', $result['reply']->message ) ) ?>
    2020            <div class="clear"></div>
    2121        <?php
  • trunk/bp-wire.php

    r1366 r1412  
    9999    $wire_post->date_posted = time();
    100100
    101     $allowed_tags = apply_filters( 'bp_wire_post_allowed_tags', '<a>,<b>,<strong>,<i>,<em>,<img>' );
     101    $allowed_tags = apply_filters( 'bp_wire_post_allowed_tags', '<a><b><strong><i><em><img>' );
    102102       
    103103    $message = strip_tags( $message, $allowed_tags );
Note: See TracChangeset for help on using the changeset viewer.