I tried this on the latest cvs version. grep -R "text/html" * returns no hits in my wordpress files except in the plugin. The meta tag says it is application/xhtml+xml but the server still sends the header Content-Type: text/html; charset=utf-8. What might I have missed? It worked in a previous version which I think was similar to alpha-3 or so.
The addition of a http_head hook is really nice.. I think that should be folded into 1.3, the more hooks the better.
I really like this plugin – its elegant and simple, and doesn’t rely on dodgy user agent strings.. which is such an outdated method that I can’t understand why people would still use it.
Plus it doesn’t mess with anything else that what it says.. unlike similar solutions.
I know it won’t do anything and because I could not get it to work, I asked here. I have followed the plugin instructions but that still does not give me a proper Content-Type http header sent except text/html in the most recent cvs version. I guess I missed something obvious.
Unfortunately I don’t remember why this stopped working. I don’t think Apache2 has anything to do with it, and I can’t think of any change I’ve done to Apache2 or php that would affect it. The problem seems to be somewhere in WordPress. Anyone got got it working who can provide feedback?