diff --git wp-includes/comment-template.php wp-includes/comment-template.php
index ad5b9ca..c472b76 100644
|
|
function comment_form( $args = array(), $post_id = null ) { |
2187 | 2187 | 'submit_button' => '<input name="%1$s" type="submit" id="%2$s" class="%3$s" value="%4$s" />', |
2188 | 2188 | 'submit_field' => '<p class="form-submit">%1$s %2$s</p>', |
2189 | 2189 | 'format' => 'xhtml', |
| 2190 | 'action' => site_url( '/wp-comments-post.php' ) |
2190 | 2191 | ); |
2191 | 2192 | |
2192 | 2193 | /** |
… |
… |
function comment_form( $args = array(), $post_id = null ) { |
2235 | 2236 | */ |
2236 | 2237 | do_action( 'comment_form_must_log_in_after' ); |
2237 | 2238 | else : ?> |
2238 | | <form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>" class="<?php echo esc_attr( $args['class_form'] ); ?>"<?php echo $html5 ? ' novalidate' : ''; ?>> |
| 2239 | <form action="<?php echo esc_url( $args['action'] ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>" class="<?php echo esc_attr( $args['class_form'] ); ?>"<?php echo $html5 ? ' novalidate' : ''; ?>> |
2239 | 2240 | <?php |
2240 | 2241 | /** |
2241 | 2242 | * Fires at the top of the comment form, inside the form tag. |