[wp-trac] [WordPress Trac] #27034: jQuery methods html('') vs empty()
WordPress Trac
noreply at wordpress.org
Mon Mar 9 19:43:51 UTC 2015
#27034: jQuery methods html('') vs empty()
----------------------------+--------------------------------------
Reporter: madeinua | Owner: wonderboymusic
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.2
Component: Administration | Version: 3.8.1
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: javascript, performance
----------------------------+--------------------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"31690"]:
{{{
#!CommitTicketReference repository="" revision="31690"
Replace flagrant instances of `.html('')` with `.empty()`.
Props OriginalEXE, SergeyBiryukov.
Fixes #27034.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27034#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list