[wp-hackers] Phasing out use of wp_die() for comment errors

Peter Westwood peter.westwood at ftwr.co.uk
Tue Nov 23 17:19:32 UTC 2010


On 23 Nov 2010, at 17:15, Beau Lebens wrote:

> I'd love to see something done with this to make it a little more user-friendly.
> 
> Option #2 would work for me, and we could even just by default set the
> commenter cookies which most themes (including the new built in
> comment_form() function) use to prefill the form (after filtering the
> values through kses or something like that).
> 
> Were you thinking that if a theme didn't add_theme_support() then it'd
> still just fall back to the wp_die() approach?


I think the first step is to do this for themes using comment_form() in a way that other themes can adopt easily

Cheers
-- 
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5



More information about the wp-hackers mailing list