Ticket #22792: 22792.2.diff
File 22792.2.diff, 2.0 KB (added by , 11 years ago) |
---|
-
src/wp-includes/comment-template.php
2024 2024 * Default 'You may use these HTML tags and attributes ...'. 2025 2025 * @type string $id_form The comment form element id attribute. Default 'commentform'. 2026 2026 * @type string $id_submit The comment submit element id attribute. Default 'submit'. 2027 * @type string $name_submit The comment submit element name attribute. Default 'submit'. 2027 2028 * @type string $title_reply The translatable 'reply' button label. Default 'Leave a Reply'. 2028 2029 * @type string $title_reply_to The translatable 'reply-to' button label. Default 'Leave a Reply to %s', 2029 2030 * where %s is the author of the comment being replied to. … … 2080 2081 'comment_notes_after' => '<p class="form-allowed-tags">' . sprintf( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s' ), ' <code>' . allowed_tags() . '</code>' ) . '</p>', 2081 2082 'id_form' => 'commentform', 2082 2083 'id_submit' => 'submit', 2084 'name_submit' => 'submit', 2083 2085 'title_reply' => __( 'Leave a Reply' ), 2084 2086 'title_reply_to' => __( 'Leave a Reply to %s' ), 2085 2087 'cancel_reply_link' => __( 'Cancel reply' ), … … 2200 2202 ?> 2201 2203 <?php echo $args['comment_notes_after']; ?> 2202 2204 <p class="form-submit"> 2203 <input name=" submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" />2205 <input name="<?php echo esc_attr( $args['name_submit'] ); ?>" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" /> 2204 2206 <?php comment_id_fields( $post_id ); ?> 2205 2207 </p> 2206 2208 <?php