Opened 10 years ago
Closed 10 years ago
#30259 closed enhancement (duplicate)
Add extra hooks to wp-comments-post.php before call wp_die()
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.0 |
Component: | Comments | Keywords: | has-patch |
Focuses: | template | Cc: |
Description
Hi all. It would be cool if you added to wp-comments-post.php acitons before wp_die(). For example:
before
wp_die( __('Sorry, you must be logged in to post a comment.') );
add
do_action('login_comment_error')
This will greatly help in creating AJAX processing comments and other.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Patch wp-comments-post.php