Opened 7 years ago
Closed 6 years ago
#43657 closed defect (bug) (fixed)
Custom HTML widget editor content not updating after save
Reported by: | barryceelen | Owned by: | desrosj |
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | 4.9 |
Component: | Widgets | Keywords: | has-patch commit |
Focuses: | javascript, administration | Cc: |
Description
When updating the Custom HTML widget content on save the updateFields()
function checks if 0 !== control.currentErrorAnnotations
. This fails as control.currentErrorAnnotations
is an array.
Attachments (2)
Change History (12)
#2
@
6 years ago
- Keywords commit added
- Milestone changed from Awaiting Review to 4.9.9
Good catch. Blame me.
Problem was introduced in https://github.com/WordPress/better-code-editing/commit/12ab774286c24f7b6cb93a15caa5bba877cefd27#diff-a8e59ff68e829597118926c5bb9f280eR109
Pull request: https://github.com/WordPress/better-code-editing/pull/69
This ticket was mentioned in Slack in #core by whitneyyadrich. View the logs.
6 years ago
#7
@
6 years ago
- Milestone changed from 5.0.3 to 5.1
Let's get this into 5.1 as it falls outside of the 5.0.3 scope.
#9
@
6 years ago
43657.2.diff is a refresh against trunk
.
Note: See
TracTickets for help on using
tickets.
Check for length of control.currentErrorAnnotations