[wp-hackers] <Input> tags stripped when saving page

Raj lists at krusible.com
Thu Jan 27 20:26:24 UTC 2011


I created a separate role using the capabilities manager plugin. Then
assigned the role the unfiltered-html and set the sub-blog user to that
role. 

The filters still seemed to apply and the input fields still continue to be
removed for the user. What could I be doing wrongly?

-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Otto
Sent: Friday, January 28, 2011 1:06 AM
To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] <Input> tags stripped when saving page

On Thu, Jan 27, 2011 at 1:29 PM, Raj <lists at krusible.com> wrote:
> When a page containing <input> tags is saved in a sub-blog in a 
> multisite installation, the input tags are stripped out. Is this a 
> security measure or is there any other reasoning for this. Can this be
prevented?
>
> Also, this doesn't seem to happen when the super-admin saves the page 
> content.

In a multi-site install, only the super-admin has the unfiltered_html
capability, by default.

-Otto
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list