Use comment_form instead of comments_form as the name of the hook. Props greenshady. see #10910
git-svn-id: https://develop.svn.wordpress.org/trunk@13028 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e12533e0cb
commit
cda50d2f2e
|
@ -1512,7 +1512,7 @@ function comment_form( $args = array(), $post_id = null ) {
|
|||
<input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" tabindex="<?php echo ( count( $args['fields'] ) + 2 ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" />
|
||||
<?php comment_id_fields(); ?>
|
||||
</p>
|
||||
<?php do_action( 'comments_form', $post_id ); ?>
|
||||
<?php do_action( 'comment_form', $post_id ); ?>
|
||||
</form>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue