I’ve noticed a similar problem. When an author saves a post the class is removed from images in the post. I have to keep going back in as admin and restoring the classes.
Thread Starter
chrimp
(@chrimp)
Is this a bug, a wrong setting or a feature?
Has anybody an idea for a solution?
cheers
this is by design – author-level users are subject to the kses filter which is designed to protect you from malicious code entered by people at a lower trust level.
editors aren’t subject to it though, so you could consider bumping your authors to that level if it’s really important.
Alternately, there are a number of bbcode-like plugins you can use, or text-replacement plugins which allow you to make your own [center][/center] tags amongst others.
This preserves your security using kses filtration, but also allows you to extend your author’s capabilities with HTML that YOU control.
Oddly, I wouldn’t make someone an author on my blog unless I had some basic trust that they wouldn’t enter malicious code. I prefer the filter of commonsense to that of kses.
I’m inclined to agree, personally.
I think this decision to apply kses to authors makes assumptions which do not follow common usage patterns.
We should actually have the option to apply kses for roles up to: [dropdown box]
Thread Starter
chrimp
(@chrimp)
Is this new to 2.5.1?
Then everything worked fine before…
And what is the sense of the RTE when it doesn’t work like that? 😉
thx
Experiencing the same issues as everyone else. Worked fine pre-upgrade, then everything broke. I made the two of us Editors (no reason not to, probably should have been before anyway) but I’m a little concerned that this hasn’t been resolved and it does indeed seem to be incorrect behavior.
I opened up a new thread ( http://wordpress.org/support/topic/174614?replies=1 ) to try to get confirmation from someone higher up. If you want, you could all post there to maybe boost support for the help request.