[wp-trac] [WordPress Trac] #14856: Add an $args parameter to comment_text filter

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 14 23:03:41 UTC 2010

#14856: Add an $args parameter to comment_text filter
 Reporter:  simonwheatley  |       Owner:                                      
     Type:  enhancement    |      Status:  new                                 
 Priority:  normal         |   Milestone:  Awaiting Review                     
Component:  Comments       |     Version:                                      
 Severity:  normal         |    Keywords:  has-patch dev-feedback needs-testing

Comment(by hakre):

 Related: #14681
 some feedback:

  - comment_text args param.diff contains a debug line: error_log( ... ).

  - instead of passing $args (which looks okay to me so far, could not
 completely dig into there), another idea might be to pass the $comment
 object to the filter as well as it is done with posts.

Ticket URL: <http://core.trac.wordpress.org/ticket/14856#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list