[wp-trac] [WordPress Trac] #30871: 'Log out of all other sessions' button overrides Enter key

WordPress Trac noreply at wordpress.org
Thu Jan 8 04:41:31 UTC 2015


#30871: 'Log out of all other sessions' button overrides Enter key
------------------------------------------+-----------------------------
 Reporter:  lumpysimon                    |       Owner:  jorbin
     Type:  defect (bug)                  |      Status:  closed
 Priority:  normal                        |   Milestone:  4.1.1
Component:  Users                         |     Version:  4.1
 Severity:  normal                        |  Resolution:  fixed
 Keywords:  has-patch commit fixed-major  |     Focuses:  administration
------------------------------------------+-----------------------------
Changes (by jorbin):

 * owner:   => jorbin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31076"]:
 {{{
 #!CommitTicketReference repository="" revision="31076"
 Set the type attribute of the buttons for logging out of all sessions to
 buttons

 By not setting this attribute, the buttons default to submit and as the
 first
 submit button on the page, it causes pressing the enter key to log you out
 of
 all sessions. This change restores the pre 4.1 behavior where pressing
 enter
 while focused on a form field submits the form.

 merges [31010] to the 4.1 branch

 props ocean90

 fixes #30871
 }}}

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


More information about the wp-trac mailing list