[wp-trac] [WordPress Trac] #32035: Media views EmbedLink debounce

WordPress Trac noreply at wordpress.org
Fri May 8 19:15:36 UTC 2015


#32035: Media views EmbedLink debounce
--------------------------+-----------------------------
 Reporter:  afercia       |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.3
Component:  Media         |     Version:  4.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  ui, javascript
--------------------------+-----------------------------
Changes (by wonderboymusic):

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


Comment:

 In [changeset:"32460"]:
 {{{
 #!CommitTicketReference repository="" revision="32460"
 When fetching in `media/views/embed/link.js`, call `abort()` on any
 existing XHRs.
 Use `$.ajax` instead of `wp.ajax.send()` to allow this.
 Pass `this` as `context` to the options to remove the need to bind
 callbacks.

 Fixes #32035.
 }}}

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


More information about the wp-trac mailing list