[wp-hackers] Proposed patch for spam problem
Owen Winkler
ringmaster at midnightcircus.com
Tue Nov 2 22:05:27 UTC 2004
Kitty wrote:
> On Tue, 2004-11-02 at 05:29, Owen Winkler wrote:
>
>>Except that apply_filters('comment_text',...) could easily have more
>>than one regex in it, and it would be executed twice using this.
>
>
> Of course they could, but I'd rather have it spam check the comment in
> it's final form, so that the spam checking is more effective.
>
Ah, ok. 'comment_text' is for output filtering, 'post_comment_text' is
for pre-database commit. 'comment_text' isn't normally applied to the
comment before it's inserted into the table for any reason, hence my
confusion. My mistake.
Diff looks good and I withdraw any prior objections.
Owen
More information about the hackers
mailing list