[wp-testers] Problem? img tag

Jason Bainbridge jbainbridge at gmail.com
Thu Sep 29 18:20:45 GMT 2005


On 9/29/05, Dmitri Von Klein <dmitrivonklein at gmail.com> wrote:
> I noticed that since around 9/19 build. WP strips class tag from my images:
>
> <img src="/images/2005/09/3DEF6627.jpg" class="photo"
> alt="Tyler & Jackie" />
>
> becomes
>
> <img src="/images/2005/09/3DEF6627.jpg" alt="Tyler &
> Jackie" />
>
>
> I have rich editing off, and WP only started to strip the tag after 9/19
>
> Is this now an inherent behavior of WP or is this a bug? If this is now part
> of WP's normal behavior how can I disable this because this present a big
> problem for me.

It is a "feature" of WP apparently for security reasons as it allows
people to fake a login screen and capture your password but to me
disabling class to fix that seems a little illogical.

To change this behaviour there are some allowed arrays in wp-admin/kses.php

Regards,
--
Jason Bainbridge
http://kde.org - webmaster at kde.org
Personal Site - http://jasonbainbridge.com


More information about the wp-testers mailing list