Opened 4 months ago

Last modified 4 months ago

#23281 new enhancement

Enhancement for comment_form(); allow styling the submit button

Reported by: Danielx64 Owned by:
Priority: normal Milestone: Awaiting Review
Component: Template Version: 3.5
Severity: normal Keywords: has-patch
Cc: Danielx64

Description

Hi there,

I'm looking at adding a feature where we can define the class for the submit button. I'm happy to create a patch for this if required. The reason for this is because right now we can change say the email field so much but we get little to no concrol over the submit button.

I'm looking at

A: Convert the entire submit button into somehing like how the text areas are done (author and email) then we get full control over the styling and other things related or;

B Add something like class_submit so that we can set the style of the submit button.

Kind regards,

Daniel Fenn

Attachments (1)

comment_form.diff (436 bytes) - added by Danielx64 4 months ago.
Just make a patch for add class feature

Download all attachments as: .zip

Change History (5)

  • Summary changed from Enhancement for comment_form(); to Enhancement for comment_form(); allow styling the submit button
  • Keywords has-patch added

Not sure if I make the patch right

Just make a patch for add class feature

comment:4 in reply to: ↑ 3   Danielx644 months ago

Replying to SergeyBiryukov:

No, comment_form.diff isn't a correct patch.

Please take a look at http://make.wordpress.org/core/handbook/submitting-a-patch/.

Do you know how I can do this without svn? I do alot of my dev stuff on a server that never reach the internet. This time I used the diff tool that was in centos :'(

Note: See TracTickets for help on using tickets.