[wp-hackers] No filters for kses?

Kirk Steffensen blogger at steffensenfamily.com
Mon Nov 19 13:55:06 GMT 2007


+1 to making it filterable.

On 11/19/07, Viper007Bond <viper at viper007bond.com> wrote:
>
> 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/
> _______________________________________________
> 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