[wp-trac] [WordPress Trac] #30871: 'Log out of all other sessions' button overrides Enter key
WordPress Trac
noreply at wordpress.org
Wed Dec 31 17:34:39 UTC 2014
#30871: 'Log out of all other sessions' button overrides Enter key
------------------------------------------+-----------------------------
Reporter: lumpysimon | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.1.1
Component: Users | Version: 4.1
Severity: normal | Resolution:
Keywords: has-patch commit fixed-major | Focuses: administration
------------------------------------------+-----------------------------
Changes (by nacin):
* keywords: has-patch => has-patch commit fixed-major
Comment:
jorbin in [31010]:
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.
props ocean90
fixes #30871 for trunk
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30871#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list