WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #40301, comment 2


Ignore:
Timestamp:
05/12/2017 05:07:52 PM (3 years ago)
Author:
afercia
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40301, comment 2

    initial v1  
    22
    33[attachment:40301.diff] adds a new filter which defaults to true. Using it would be as simple as:
    4 `add_action( 'enable_login_autofocus', '__return_false' );`
     4`add_filter( 'enable_login_autofocus', '__return_false' );`
    55
    66Also removes a space in a doc-block.