Ticket #22792: 22792.diff
File 22792.diff, 2.0 KB (added by , 11 years ago) |
---|
-
wp-includes/comment-template.php
2007 2007 * Default 'You may use these HTML tags and attributes ...'. 2008 2008 * @type string $id_form The comment form element id attribute. Default 'commentform'. 2009 2009 * @type string $id_submit The comment submit element id attribute. Default 'submit'. 2010 * @type string $name_attr The comment submit element name attribute. Default 'submit'. 2010 2011 * @type string $title_reply The translatable 'reply' button label. Default 'Leave a Reply'. 2011 2012 * @type string $title_reply_to The translatable 'reply-to' button label. Default 'Leave a Reply to %s', 2012 2013 * where %s is the author of the comment being replied to. … … 2061 2062 '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>', 2062 2063 'id_form' => 'commentform', 2063 2064 'id_submit' => 'submit', 2065 'name_attr' => 'submit', 2064 2066 'title_reply' => __( 'Leave a Reply' ), 2065 2067 'title_reply_to' => __( 'Leave a Reply to %s' ), 2066 2068 'cancel_reply_link' => __( 'Cancel reply' ), … … 2181 2183 ?> 2182 2184 <?php echo $args['comment_notes_after']; ?> 2183 2185 <p class="form-submit"> 2184 <input name=" submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" />2186 <input name="<?php echo esc_attr( $args['name_attr'] ); ?>" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" /> 2185 2187 <?php comment_id_fields( $post_id ); ?> 2186 2188 </p> 2187 2189 <?php