metad and keywords are output in get_header()
When metad is empty we use a 160char stripped substr of content.
However, It is not run through a content filter prior, which causes obvious
issues with shortcodes and other markup being present in it.
I propose 2 solutions.
1.
We run content through content filter before substringing it for metad output,
well want to make sure this gets cached to pagecache also so we aren't running
expensive content filters more than we need to.
2.
We just add filter hooks for these and let people take care of this on their
own with plugins.
But this doesn't really help with consistancy, I think number one HAS to be
implemented, as should content filters everytime we use it for something.
Original issue reported on code.google.com by tablatronics on 1 Aug 2012 at 2:22
Original issue reported on code.google.com by
tablatronics
on 1 Aug 2012 at 2:22