[wp-trac] [WordPress Trac] #43657: Custom HTML widget editor content not updating after save

WordPress Trac noreply at wordpress.org
Tue Jan 8 16:41:57 UTC 2019


#43657: Custom HTML widget editor content not updating after save
------------------------------+-----------------------------------------
 Reporter:  barryceelen       |       Owner:  desrosj
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.1
Component:  Widgets           |     Version:  4.9
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  javascript, administration
------------------------------+-----------------------------------------
Changes (by desrosj):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44474" 44474]:
 {{{
 #!CommitTicketReference repository="" revision="44474"
 Widgets: Fix custom HTML widget editor content not updating after save.

 An integer comparison is performed against
 `control.currentErrorAnnotations`, but `control.currentErrorAnnotations`
 is actually an array. This fixes that comparison so the content saves
 correctly.

 Props barryceelen.
 Fixes #43657.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43657#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list