[wp-trac] [WordPress Trac] #18590: Swap out "return false" JS calls for preventDefault

WordPress Trac noreply at wordpress.org
Fri Oct 9 01:26:49 UTC 2015


#18590: Swap out "return false" JS calls for preventDefault
--------------------------------------------+------------------------------
 Reporter:  Viper007Bond                    |       Owner:  adamsilverstein
     Type:  enhancement                     |      Status:  closed
 Priority:  normal                          |   Milestone:  4.4
Component:  Administration                  |     Version:  3.3
 Severity:  normal                          |  Resolution:  fixed
 Keywords:  needs-testing has-patch commit  |     Focuses:  javascript
--------------------------------------------+------------------------------
Changes (by azaozz):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34977"]:
 {{{
 #!CommitTicketReference repository="" revision="34977"
 JS: in event callbacks replace the very outdated `return false` with
 `preventDefault()`.

 Props adamsilverstein.
 Fixes #18590.
 }}}

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


More information about the wp-trac mailing list