[wp-trac] [WordPress Trac] #21834: Comment History
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 7 21:21:04 UTC 2012
#21834: Comment History
-------------------------+------------------------------
Reporter: mattoperry | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------------------
Comment (by scribu):
Yeah, I though you were suggesting storing something like that.
I don't think storing the actual callback name is a good idea; you'd end
up with inflexibility similar to pluggable functions.
Better to use hooks, as you suggested:
{{{
do_action( 'comment_history_' . $meta_value[1], $meta_value[2] );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21834#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list