[wp-trac] [WordPress Trac] #48004: JS error while Widget saving functionality

WordPress Trac noreply at wordpress.org
Mon Sep 9 06:14:40 UTC 2019


#48004: JS error while Widget saving functionality
--------------------------+-----------------------------
 Reporter:  prashantdu    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  assigned
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.2.3
 Severity:  critical      |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When I tried to update any existing widget and Save it then I am getting a
 JS error and because of that changes are not being saved.

 Issue is with the ajaxurl variable used in a post ajax call in widgets.js
 (widgets.min.js) in Save function.

 This variable is holding the object and not a string (ideally string
 containing the url).

 While inspect in Network,
 ajax url looks like, http://www.expertise.com/wp-admin/[object%20Object]

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


More information about the wp-trac mailing list