[wp-hackers] No filters for kses?

Stephane Daury wordpress at tekartist.org
Mon Nov 19 14:44:53 GMT 2007


+1: I've faced the same.

S.


On Nov 19, 2007, at 8:55, Kirk Steffensen wrote:

> +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
>>
> _______________________________________________
> 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