[wp-trac] [WordPress Trac] #8863: wp_set_comment_status action is
not raised
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 15 02:07:50 GMT 2009
#8863: wp_set_comment_status action is not raised
--------------------------+-------------------------------------------------
Reporter: Jehan | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.7.1
Component: Comments | Version: 2.7
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Hi,
I have a hook on the action 'wp_set_comment_status' and I made tests of
changing the status (from an approved comment, to spam, or to moderation
pending, then back, etc.) and the action hook has never been activated (I
put some log writing on my function, and I could check it was not
triggered...).
Maybe I can do a workaround, with edit_comment (is it triggered when only
the status changes as well?), but I haven't tested it yet. And anyway it
may be slightly more annoying than the wp_set_comment_status.
Seen on 2.7.
--
Ticket URL: <http://trac.wordpress.org/ticket/8863>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list