Ticket #6910 (closed defect: fixed)

Opened 7 months ago

Last modified 3 months ago

Users with author role privelages have some HTML stripped from posts.

Reported by: niedzielski Assigned to: anonymous
Priority: low Milestone: 2.7
Component: General Version:
Severity: normal Keywords:
Cc:

Description

As an administrator user, I have no difficulties using HTML in my entries. However, an author user on my blog recently reported a problem. He attempted to center text using the alignment button in visual editor, or even typing in the code manually. This produced code like this: <p style="text-align: center;">foo</p>

Unfortunately, any time he saves, the system reduces the code to this: <p style="center;">foo</p>

Which doesn't work. When I try it as an administrator user, it works fine. When I log in under his username, I have the same problem.

I am using WordPress version 2.5.1.

Change History

07/23/08 19:17:44 changed by mrmist

Just confirming this is in 2.6.

Also affects "contributer" level.

07/23/08 19:22:00 changed by ryan

Probably the same problem as in #6888 and #5917

08/19/08 18:43:22 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [8671]) Apply kses bad-protocol checks only to URI typed attributes. Props takayukister. fixes #5917 #6888 #6910 #7512