[wp-trac] [WordPress Trac] #21834: Comment History

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 7 21:13:03 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 nacin):

 Replying to [comment:3 scribu]:
 > > The more fleshed out idea is each item is its own callback function
 with arguments — and then you simply call the callback function with the
 specified arguments on render.
 >
 > Parser error...

 You store this: `array( 'comment_history_message_edited', array( 'time' =>
 time(), 'user_id' => $user_id ) )`

 Then:

 `call_user_func( $meta_value[1], $meta_value[2] );`

 Or something of the sort.

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


More information about the wp-trac mailing list