[wp-trac] [WordPress Trac] #23477: r21789 creates a breaking change in behavior for get_submit_button

WordPress Trac noreply at wordpress.org
Thu Feb 14 23:56:38 UTC 2013


#23477: r21789 creates a breaking change in behavior for get_submit_button
--------------------------+------------------------------
 Reporter:  vhauri        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Template      |     Version:  trunk
 Severity:  minor         |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by vhauri):

 Clarification of above example:

 Function call:

 `$button_str = get_submit_button( __( 'delete selected users' ), 'button-
 secondary save-button action', false, false, array( 'id' => 'doaction' )
 );`

 Expected value of `$button_str`:

 `<input type="submit" name="" id="doaction" class="button-secondary save-
 button action" value="delete selected users">`

 Actual value of `$button_str`:

 `<input type="submit" name="" id="doaction" class="button save-button
 action" value="delete selected users">`

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


More information about the wp-trac mailing list