I have a site that I started building on version 2.8 that relies heavily on custom taxonomies.
I need to use html in my term descriptions for adding pictures e.t.c.
In 2.8 I added
remove_filter( 'pre_term_description', 'wp_filter_kses' );in my functions.php which enabled html in the term descriptions.
Since upgrading to 2.9 this no longer works, and html is filtered out of the descriptions on display (it is still saved in the editor).
I have a feeling this may have something to do with
Add a ‘the_terms’ filter
# Filter fields through kses upon display and introduce sanitize_user_object() and sanitize_user_field()
mentioned in the 2.9 Codex but don’t know how I can override this.
So, does anyone know how I can enable html in term descriptions as of 2.9?
- The topic ‘Enable XHTML in term descriptions’ is closed to new replies.