#42127 closed defect (bug) (fixed)
Custom HTML widget can't be deleted with error in content
Reported by: | joyously | Owned by: | westonruter |
---|---|---|---|
Milestone: | 4.9 | Priority: | normal |
Severity: | normal | Version: | 4.9 |
Component: | Widgets | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
In the admin Widgets page, a Custom HTML widget with an HTML error disables the Delete link.
It works correctly in the Customizer.
Attachments (2)
Change History (7)
Note: See
TracTickets for help on using
tickets.
If I understood correctly, the problem here is checking for form validity even when it'll be deleted. It happens with Custom HTML Widget because it uses
but any other widget with an input field with "required" attribute would result in the same error.