[wp-trac] [WordPress Trac] #18630: Custom Comment Validation Error

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 9 20:17:53 UTC 2011


#18630: Custom Comment Validation Error
-----------------------------+------------------------------
 Reporter:  bandonrandon     |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Comments         |     Version:  3.3
 Severity:  minor            |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by nacin):

 There's likely a ticket or five regarding this, beyond those two.

 I don't think overriding the default wp_die() is what should be done here.
 (And theming it is currently possible.) Rather, the theme should be able
 to register support for error handling -- add_theme_support('comment-
 error-handling'). Or perhaps comment_form(), if used, would be enough. (Or
 require both.) Then we could send stuff back to that page.

 Unfortunately we'd probably want to store content in a cookie so we can
 display it again, rather than lose it, but that's too much data for a
 cookie. So we might need to change how we POST, and send it to the post
 instead of wp-comments-post.php. Big changes here.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18630#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list