Just wanted to revive this topic please.
Reviving it doesn’t help unless you’re more specific.
WordPress does remove some minor html code, like multiple BR’s or extraneous P tags and such, but for the most part, no, it leaves your html alone. That’s if you’re an admin, of course. Normal contributors get their HTML heavily filtered, via kses. This is for security.
TinyMCE alters HTML code in many ways, because that’s sorta the whole purpose of it, to create HTML from non-HTML. If you don’t want your html edited, don’t use the visual editor.
Understood.
I have Admin privilege btw. When I say it removes all HTML code, I mean all. It doesn’t matter whether TinyMCE is activated or not nor does it matter whether I use the wysiwyg or raw HTML editor. Everything get’s stripped out of it. A bit strange I’d say since it previously worked even after the 2.7 upgrade.
– Cory C.
WordPress doesn’t do that. So I’d say something else is interfering. Disable your plugins, check if mod_security is doing something weird on your server, etc, etc.
I have 2 blogs installed on the same server in different directories, one has this same problem and the other doesn’t. I haven’t really cared about it much to look into it, but because one works and the other doesn’t I have been assuming it is the theme or a plugin I am using. I would guess the same is probably true for you, too.
I found the plugin that was plaguing my wysiwyg editor.
This one is the culprit:
Flutter .2.40
Create custom write panels and easily retrieve their values in your templates. By Freshout.
I’d guess that it’s not the only one that can cause this but in my case this Flutter plugin did me in.