#53062 closed defect (bug) (invalid)
iFrame in Taxonomies
| Reported by: | Loewenherz | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Taxonomy | Version: | 5.7.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
After the update to 5.7.1, iFrames in taxonomies (tags) are deleted on save. Code in functions.php like remove_filter( 'term_description', 'wp_kses_data' ); doesn't work not longer.
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
There is no bug here. You need to remove both filter:
Or with Yoast activated (then the post context is used):
Although it would be even better to use the
wp_kses_allowed_htmlfilter to just addiframeto the list of allowed HTML tags with the used attributes for YouTube (if that is your use case for example).