bfa_wp_trim_exercpt breaking plugins?
It seems like a lot of plugins rely on injecting javascript into the_excerpt() - two I ran into switching to Atahualpa today are Ad Injection and Hupso Share Buttons. It doesn't seem like a filter on the_excerpt or get_the_excerpt is rare. :)
The problem is that the Javascript injected is chewed up by having the script tags removed, so you end up with an excerpt displaying xml-escaped javascript. I was able to work around this by adding script, ins, and a couple of other tags to the dont_strip_excerpts list, but this seems like a hack that may/will easily break in the future. Is there another way to fix this? Perhaps one that doesn't require maintenance? Thanks! |
All times are GMT -6. The time now is 02:55 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.