[wp-hackers] No filters for kses?

Viper007Bond viper at viper007bond.com
Mon Nov 19 10:09:42 GMT 2007


Oh, right, right.

Still though, it'd seem more WordPress-like if it was filterable. It'd be
much cleaner IMO than global'ing it inside a function and such.

On 11/18/07, Andy Skelton <skeltoac at gmail.com> wrote:
>
> On Nov 18, 2007 9:43 PM, Viper007Bond <viper at viper007bond.com> wrote:
> > Someone asked on #wordpress how to modify the allowed tags for
> commenters
> > and I couldn't find a way, but hopefully there's just something I'm
> missing.
>
> The array of allowed tags and attributes is assigned as a global in
> wp-includes/kses.php. All a plugin needs to do is alter that variable
> after it is defined.
>
> Cheers,
> Andy
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Viper007Bond | http://www.viper007bond.com/


More information about the wp-hackers mailing list