Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #27080


Ignore:
Timestamp:
02/09/2014 09:49:51 PM (11 years ago)
Author:
TobiasBg
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27080

    • Property Focuses template added
    • Property Type changed from feature request to enhancement
  • Ticket #27080 – Description

    initial v1  
    1 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:
    2 
    3 
     1It'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:
    42{{{
    5                                                 <?php echo $args['comment_notes_after']; ?>
    6                                                 <?php do_action( 'comment_form_after_comment' ); ?>
    7                                                 <p class="form-submit">
    8                                                         <input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" />
    9                                                         <?php comment_id_fields( $post_id ); ?>
    10                                                 </p>
    11 
     3<?php echo $args['comment_notes_after']; ?>
     4<?php do_action( 'comment_form_after_comment' ); ?>
     5<p class="form-submit">
     6        <input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" />
     7        <?php comment_id_fields( $post_id ); ?>
     8</p>
    129}}}