Changeset 12806 for trunk/src/bp-xprofile/bp-xprofile-filters.php
- Timestamp:
- 11/27/2020 03:56:32 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-xprofile/bp-xprofile-filters.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-filters.php
r12768 r12806 142 142 'ol' => array(), 143 143 'li' => array(), 144 'span' => array( 'style' => 1),145 'p' => array( 'style' => 1),144 'span' => array(), 145 'p' => array(), 146 146 ); 147 148 // Allow style attributes on certain elements for capable users 149 if ( bp_current_user_can( 'unfiltered_html' ) ) { 150 $richtext_tags['span'] = array( 'style' => 1 ); 151 $richtext_tags['p'] = array( 'style' => 1 ); 152 } 147 153 148 154 $xprofile_allowedtags = array_merge( $allowedtags, $richtext_tags );
Note: See TracChangeset
for help on using the changeset viewer.