Opened 10 years ago
Closed 10 years ago
#5476 closed defect (bug) (fixed)
kses filter defined twice
Reported by: | mpa4hu | Owned by: | djpaul |
---|---|---|---|
Milestone: | 2.0 | Priority: | low |
Severity: | normal | Version: | |
Component: | Activity | Keywords: | |
Cc: |
Description
nothing big but still
in /bp-activity/bp-activity-filters.php
function bp_activity_filter_kses( $content ) { global $allowedtags; $activity_allowedtags = $allowedtags; $activity_allowedtags['span'] = array(); $activity_allowedtags['span']['class'] = array(); $activity_allowedtags['a']['class'] = array(); $activity_allowedtags['a']['id'] = array(); $activity_allowedtags['a']['rel'] = array(); $activity_allowedtags['img'] = array(); $activity_allowedtags['img']['src'] = array(); $activity_allowedtags['img']['alt'] = array(); $activity_allowedtags['img']['class'] = array(); $activity_allowedtags['img']['width'] = array(); $activity_allowedtags['img']['height'] = array(); $activity_allowedtags['img']['class'] = array(); $activity_allowedtags['img']['id'] = array(); $activity_allowedtags['img']['title'] = array(); $activity_allowedtags['code'] = array(); $activity_allowedtags = apply_filters( 'bp_activity_allowed_tags', $activity_allowedtags ); return wp_kses( $content, $activity_allowedtags ); }
[img][class]
is defined twice.
Change History (2)
Note: See
TracTickets for help on using
tickets.
In 8219: