[wp-trac] [WordPress Trac] #15015: Customisable submit button for comment form

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 2 18:44:07 UTC 2010


#15015: Customisable submit button for comment form
-------------------------+--------------------------------------------------
 Reporter:  morpheu5     |       Owner:                             
     Type:  enhancement  |      Status:  new                        
 Priority:  normal       |   Milestone:  Awaiting Review            
Component:  Comments     |     Version:  3.0.1                      
 Severity:  normal       |    Keywords:  submit button markup custom
-------------------------+--------------------------------------------------

Comment(by morpheu5):

 Replying to [comment:3 demetris]:
 > {{{
 > function my_comment_form_defaults($i)
 > {
 >     $i['id_submit'] = 'submit" tabindex="5';
 >
 >     return $i;
 > }
 > add_filter('comment_form_defaults', 'my_comment_form_defaults');
 > }}}
 >
 > Would a workaround like that work for your case?

 That'd certainly be. However, I don't need to remind you how bad this
 practice would be. I'll never surrender myself to such immoral code :)

 > It would be good if the comment form was fully customizable in
 everything (that is, without any hard-coded HTML in it at all), and I’ve
 wished that myself a couple of times, but I wouldn’t say this is a
 blocker.  :-)

 Agreed :)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15015#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list