[wp-trac] [WordPress Trac] #54205: jqxhr is undefined inside of deferred.done() when using wp.media to add a custom image upload

WordPress Trac noreply at wordpress.org
Thu Sep 30 20:55:43 UTC 2021


#54205: jqxhr is undefined inside of deferred.done() when using wp.media to add a
custom image upload
----------------------------------------+-----------------------------
 Reporter:  metawebdevelopment          |      Owner:  (none)
     Type:  defect (bug)                |     Status:  new
 Priority:  normal                      |  Milestone:  Awaiting Review
Component:  Media                       |    Version:  5.8.1
 Severity:  major                       |   Keywords:  needs-patch
  Focuses:  javascript, administration  |
----------------------------------------+-----------------------------
 I have done all the usual trouble shooting and found this is being cause
 by a new block of code added to wp-util.js in 5.8.1.  Specifically lines
 121-134.

 The jqXHR property does not exist inside of the done() object and therefor
 always errors out.  This is removing a key functionality of a clients
 admin that makes it where no new products can be added without a horrible
 workaround.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54205>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list