Skip to:
Content

BuddyPress.org

Changeset 9050


Ignore:
Timestamp:
09/27/2014 01:51:15 AM (10 years ago)
Author:
boonebgorges
Message:

Add 'b', 'i', and 'a:title' to allowedtags in bp-activity

Fixes #5835

Props hnla

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-filters.php

    r8817 r9050  
    178178
    179179    $activity_allowedtags = $allowedtags;
    180     $activity_allowedtags['span']          = array();
    181     $activity_allowedtags['span']['class'] = array();
    182180    $activity_allowedtags['a']['class']    = array();
    183181    $activity_allowedtags['a']['id']       = array();
    184182    $activity_allowedtags['a']['rel']      = array();
     183    $activity_allowedtags['a']['title']    = array();
     184    $activity_allowedtags['b']             = array();
     185    $activity_allowedtags['code']          = array();
     186    $activity_allowedtags['i']             = array();
    185187    $activity_allowedtags['img']           = array();
    186188    $activity_allowedtags['img']['src']    = array();
     
    191193    $activity_allowedtags['img']['id']     = array();
    192194    $activity_allowedtags['img']['title']  = array();
    193     $activity_allowedtags['code']          = array();
     195    $activity_allowedtags['span']          = array();
     196    $activity_allowedtags['span']['class'] = array();
     197
    194198
    195199    $activity_allowedtags = apply_filters( 'bp_activity_allowed_tags', $activity_allowedtags );
Note: See TracChangeset for help on using the changeset viewer.