Fix timelines, disable taxonomy description HTML tag stripping #17

Merged
Rumperuu merged 2 commits from fix/timelines into master 2021-01-21 12:05:20 +00:00
Showing only changes of commit 06c5a67872 - Show all commits

View file

@ -718,3 +718,8 @@ function display_companies() {
add_action( 'wp_ajax_display_companies', 'display_companies' ); add_action( 'wp_ajax_display_companies', 'display_companies' );
add_action( 'wp_ajax_nopriv_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' );