[wp-trac] [WordPress Trac] #27034: jQuery methods html('') vs empty()
WordPress Trac
noreply at wordpress.org
Thu Feb 6 16:07:59 UTC 2014
#27034: jQuery methods html('') vs empty()
----------------------------+--------------------------------------
Reporter: madeinua | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.9
Component: Administration | Version: 3.8.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript, performance
----------------------------+--------------------------------------
Comment (by SergeyBiryukov):
According to [http://api.jquery.com/empty/ jQuery documentation],
`empty()` also removes event handlers from child elements, so we should
verify that doesn't affect any of the instances here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27034#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list