[wp-trac] [WordPress Trac] #27080: Missing action 'comment_form_after_comment'

WordPress Trac noreply at wordpress.org
Sun Feb 9 21:21:28 UTC 2014


#27080: Missing action 'comment_form_after_comment'
-----------------------------+-----------------------------
 Reporter:  bjoerne          |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Comments         |    Version:  3.8.1
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 It's nice to have action hooks for the comment form like
 '''comment_form_after_fields''' or '''comment_form'''. But I miss an
 action '''comment_form_after_comment''' which is called between the
 comment field note and the submit button. Like this:


 {{{
                                                 <?php echo
 $args['comment_notes_after']; ?>
                                                 <?php do_action(
 'comment_form_after_comment' ); ?>
                                                 <p class="form-submit">
                                                         <input
 name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] );
 ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" />
                                                         <?php
 comment_id_fields( $post_id ); ?>
                                                 </p>

 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27080>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list