[wp-trac] [WordPress Trac] #5741: No Edit Comment Form Hook

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 31 15:36:47 GMT 2008


#5741: No Edit Comment Form Hook
----------------------------+-----------------------------------------------
 Reporter:  DavidMeade      |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:  2.6      
Component:  Administration  |     Version:           
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 Hooks are provided to allow plugins to add custom fields to comment forms,
 however there is no hook to allow plugins to give admins to ability to
 adjust any such fields in the comment edit form.

 To fix this, I added the following at line 51 of wp-admin/edit-form-
 comment.php  (just above the advanced area of the form)

 {{{
 <?php do_action('edit_comment_form', $comment->comment_ID); ?>
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5741>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list