[wp-trac] [WordPress Trac] #27747: Inconsistent type default between `submit_button()` and `get_submit_button()`

WordPress Trac noreply at wordpress.org
Wed Dec 6 11:23:51 UTC 2023


#27747: Inconsistent type default between `submit_button()` and
`get_submit_button()`
-----------------------------------+---------------------------------------
 Reporter:  Denis-de-Bernardy      |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Administration         |     Version:  3.5
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch dev-         |     Focuses:  administration, template
  feedback                         |
-----------------------------------+---------------------------------------
Changes (by SergeyBiryukov):

 * milestone:   => Awaiting Review


Comment:

 Replying to [comment:5 Mte90]:
 > As you can see on https://github.com/WordPress/WordPress/blob/master/wp-
 admin/includes/template.php#L1906 that patch already exist
 (https://core.trac.wordpress.org/ticket/27747#comment:2) in the last
 version of wordpress.

 No, `$type` still defaults to `'primary'` in `submit_button()` and
 `'primary large'` in `get_submit_button()`.

 The ticket is still valid.

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


More information about the wp-trac mailing list