Opened 7 years ago
Last modified 7 years ago
#48004 assigned defect (bug)
JS error while Widget saving functionality
| Reported by: | prashantdu | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Widgets | Version: | 5.2.3 |
| Severity: | critical | Keywords: | |
| Cc: | Focuses: | ui, administration |
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)
#3
in reply to: ↑ 1
@
7 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
@
7 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?
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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?