[wp-trac] [WordPress Trac] #27070: Additional argument or filter for submit_button function

WordPress Trac noreply at wordpress.org
Sat Feb 8 21:22:10 UTC 2014


#27070: Additional argument or filter for submit_button function
--------------------------+--------------------
 Reporter:  wpidiots      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.9
Component:  General       |     Version:  3.8.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+--------------------
Changes (by DrewAPicture):

 * keywords:  close => has-patch
 * focuses:  administration => docs
 * type:  enhancement => defect (bug)
 * milestone:  Awaiting Review => 3.9


Comment:

 I think we can at least update the phpdoc for `submit_button()` to mention
 that the `$type` parameter doubles as the value of the class attribute.

 [attachment:27070.diff] does this.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27070#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list