[wp-trac] [WordPress Trac] #18590: Swap out "return false" JS calls for preventDefault
WordPress Trac
noreply at wordpress.org
Mon Dec 10 22:36:30 UTC 2012
#18590: Swap out "return false" JS calls for preventDefault
----------------------------+------------------------------
Reporter: Viper007Bond | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.3
Severity: normal | Resolution:
Keywords: needs-patch |
----------------------------+------------------------------
Comment (by robmiller):
Attached is an audit of current uses of return false; it naturally doesn't
attempt to make a distinction between logical uses and ones where it's
being used to suppress default event handlers. I'm going to nip through
and grab the low-hanging fruit (i.e. the most obvious uses where
`preventDefault` is the correct option).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18590#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list