[wp-trac] [WordPress Trac] #37478: Customizer undefined property if widget area before/after values are empty

WordPress Trac noreply at wordpress.org
Wed Jul 27 16:26:23 UTC 2016


#37478: Customizer undefined property if widget area before/after values are empty
-------------------------------------+--------------------------
 Reporter:  Clorith                  |       Owner:  westonruter
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  4.6
Component:  Customize                |     Version:  trunk
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:  javascript
-------------------------------------+--------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"38166"]:
 {{{
 #!CommitTicketReference repository="" revision="38166"
 Customize: Prevent customize-preview-widgets JS errors in preview if a
 sidebar is registered with empty before_widget/after_widget params.

 Selective refresh will not be available for widgets when they lack these
 params, so previewing will fallback to full page refreshes. Sidebars
 registered as such should be rare so this accounts for an edge case.

 Fixes #37478.
 }}}

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


More information about the wp-trac mailing list