[wp-trac] [WordPress Trac] #41190: Don't print wp_attempt_focus() code when enable_login_autofocus is disabled
WordPress Trac
noreply at wordpress.org
Wed Jun 28 09:58:30 UTC 2017
#41190: Don't print wp_attempt_focus() code when enable_login_autofocus is disabled
------------------------------------+-------------------------
Reporter: ka2 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.8.1
Component: Login and Registration | Version: 4.8
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
------------------------------------+-------------------------
Comment (by afercia):
@swissspidy although it would be cleaner, there are other places where
that function gets called. As noted in the original ticket:
> Worth noting the auto-focus will still work on other wp-login.php views
like, for example, the lost password one. It probably makes sense to still
have auto-focus where the users task is so specific.
That's the reason why the filter disables only the call.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41190#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list