Changeset 37208
- Timestamp:
- 04/14/2016 06:17:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r36918 r37208 2066 2066 * @since 4.5.0 The 'author', 'email', and 'url' form fields are limited to 245, 100, 2067 2067 * and 200 characters, respectively. 2068 * @since 4.6.0 Introduced the 'action' argument. 2068 2069 * 2069 2070 * @param array $args { … … 2084 2085 * Default 'Your email address will not be published.'. 2085 2086 * @type string $comment_notes_after HTML element for a message displayed after the textarea field. 2087 * @type string $action The comment form element action attribute. Default '/wp-comments-post.php'. 2086 2088 * @type string $id_form The comment form element id attribute. Default 'commentform'. 2087 2089 * @type string $id_submit The comment submit element id attribute. Default 'submit'. … … 2165 2167 'comment_notes_before' => '<p class="comment-notes"><span id="email-notes">' . __( 'Your email address will not be published.' ) . '</span>'. ( $req ? $required_text : '' ) . '</p>', 2166 2168 'comment_notes_after' => '', 2169 'action' => site_url( '/wp-comments-post.php' ), 2167 2170 'id_form' => 'commentform', 2168 2171 'id_submit' => 'submit', … … 2229 2232 do_action( 'comment_form_must_log_in_after' ); 2230 2233 else : ?> 2231 <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' : ''; ?>>2234 <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' : ''; ?>> 2232 2235 <?php 2233 2236 /**
Note: See TracChangeset
for help on using the changeset viewer.