Opened 5 years ago
Last modified 5 years ago
#48004 assigned defect (bug)
JS error while Widget saving functionality
Reported by: | prashantdu | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | critical | Version: | 5.2.3 |
Component: | Widgets | Keywords: | |
Focuses: | ui, administration | Cc: |
Description
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]
Attachments (1)
Change History (5)
#1
follow-up:
↓ 3
@
5 years ago
- Component changed from General to Widgets
- Keywords reporter-feedback added
#3
in reply to:
↑ 1
@
5 years ago
- Keywords reporter-feedback removed
Replying to SergeyBiryukov:
Hi @prashantdu, welcome to WordPress Trac! Thanks for the report.
Does the issue still exist with all plugins disabled and a default theme (Twenty Nineteen) activated?
Widget is working fine with (Twenty Nineteen) activated. It is working well even with all plugins activated.
#4
@
5 years ago
Hi @prashantdu. I can't reproduce the issue.
Widget is working fine with (Twenty Nineteen) activated. It is working well even with all plugins activated.
I can't quite understand your last comment. Does it mean that the issue doesn't exist if you are using the Twenty Nineteen theme?
Hi @prashantdu, welcome to WordPress Trac! Thanks for the report.
Does the issue still exist with all plugins disabled and a default theme (Twenty Nineteen) activated?