Ticket #16206: 16206.2.patch
File 16206.2.patch, 1.6 KB (added by , 9 years ago) |
---|
-
wp-includes/comment-template.php
1242 1242 * @global int $user_ID 1243 1243 * @global string $user_identity 1244 1244 * @global bool $overridden_cpage 1245 * @global bool $withcomments 1245 * @global bool $withcomments 1246 1246 * 1247 1247 * @param string $file Optional. The file to load. Default '/comments.php'. 1248 1248 * @param bool $separate_comments Optional. Whether to separate the comments by comment type. … … 2135 2135 $fields = apply_filters( 'comment_form_default_fields', $fields ); 2136 2136 $defaults = array( 2137 2137 'fields' => $fields, 2138 'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) . ' </label> <textarea id="comment" name="comment" cols="45" rows="8" maxlength="65525" aria-required="true" required="required"></textarea></p>',2138 'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) . ' <span class="required">*</span></label> <textarea id="comment" name="comment" cols="45" rows="8" maxlength="65525" aria-required="true" required="required"></textarea></p>', 2139 2139 /** This filter is documented in wp-includes/link-template.php */ 2140 2140 'must_log_in' => '<p class="must-log-in">' . sprintf( __( 'You must be <a href="%s">logged in</a> to post a comment.' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>', 2141 2141 /** This filter is documented in wp-includes/link-template.php */