- changed status to resolved
Disable category description filter to allow for html
Issue #39
resolved
See: http://wordpress.org/support/topic/category-description-strips-html-tags
/*
Plugin Name: HTML in Category Descriptions
Version: 1.0
Plugin URI:
Description: Allows you to add HTML code in category descriptions
Author: Arno Esterhuizen
Author URI: ****
*/
$filters = array('pre_term_description', 'pre_link_description', 'pre_link_notes', 'pre_user_description');
foreach ( $filters as $filter ) {
remove_filter($filter, 'wp_filter_kses');
}
Comments (1)
-
reporter - Log in to comment
Resolved this in the sp_save_cat_desc_ajax() function in the SP_Category_AJAX class.