[wp-trac] [WordPress Trac] #30259: Add extra hooks to wp-comments-post.php before call wp_die()
WordPress Trac
noreply at wordpress.org
Wed Nov 5 17:15:59 UTC 2014
#30259: Add extra hooks to wp-comments-post.php before call wp_die()
-------------------------------+-----------------------------
Reporter: Bondars Aleksandr | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 4.0
Severity: normal | Keywords:
Focuses: template |
-------------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30259>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list