Fix timelines, disable taxonomy description HTML tag stripping #17
1 changed files with 5 additions and 0 deletions
|
@ -718,3 +718,8 @@ function display_companies() {
|
|||
add_action( 'wp_ajax_display_companies', 'display_companies' );
|
||||
add_action( 'wp_ajax_nopriv_display_companies', 'display_companies' );
|
||||
|
||||
// allow html in category and taxonomy descriptions
|
||||
remove_filter( 'pre_term_description', 'wp_filter_kses' );
|
||||
remove_filter( 'pre_link_description', 'wp_filter_kses' );
|
||||
remove_filter( 'pre_link_notes', 'wp_filter_kses' );
|
||||
remove_filter( 'term_description', 'wp_kses_data' );
|
||||
|
|
Reference in a new issue