Opened 8 years ago
Closed 8 years ago
#43657 closed defect (bug) (fixed)
Custom HTML widget editor content not updating after save
| Reported by: | barryceelen | Owned by: | desrosj |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.1 |
| Component: | Widgets | Version: | 4.9 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | javascript, administration |
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
@
8 years ago
- Keywords commit added
- Milestone Awaiting Review → 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.
8 years ago
#7
@
8 years ago
- Milestone 5.0.3 → 5.1
Let's get this into 5.1 as it falls outside of the 5.0.3 scope.
#9
@
8 years ago
43657.2.diff is a refresh against trunk.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Check for length of control.currentErrorAnnotations