id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 15015 Customisable submit button for comment form morpheu5 boonebgorges "Note: I'm setting this as a blocker because it is a blocker '''to me'''. Set it whatever you feel appropriate. I badly needed to customise the submit button because I wanted to add a tabindex. I could reimplement the whole form with my markup, but as I already worked my way through all the other fields, I did want to continue this way. Sadly I discovered it's not possible. So, after discussing this in IRC, I decided to hack the core and propose the attached patch. Basically now you can create a filter and output your markup, like this: {{{ function awesome_comment_form_submit_button($button) { $button = '' . get_comment_id_fields(); return $button; } add_filter('comment_form_submit_button', 'awesome_comment_form_submit_button'); }}} and filter magic happens. Please notice that 1. you have to include [args:id_submit] and [args:label_submit] if you want the comment_form() parameters to work. 2. you have to use the get_comment_id_fields() function. It may be better but it works for me. If anybody feels like making it better, be my guest." enhancement closed normal 4.2 Comments 3.0.1 normal fixed dev-feedback has-patch template