[wp-trac] [WordPress Trac] #50508: Customize: Widgets appear "inactive" by default

WordPress Trac noreply at wordpress.org
Sat Jul 4 18:49:39 UTC 2020

#50508: Customize: Widgets appear "inactive" by default
 Reporter:  afercia                    |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  5.5
Component:  Customize                  |     Version:  trunk
 Severity:  normal                     |  Resolution:
 Keywords:  has-screenshots has-patch  |     Focuses:  javascript

Comment (by dlh):

 Makes sense to me. The only thing I noticed was that the logic to export
 `renderedSidebars` and `renderedWidgets` assumes that every item in the
 respective property is set to `true`, which is currently accurate in
 practice, but isn't guaranteed. [attachment:"50508.3.diff"] filters out
 falsey values just in case.

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

More information about the wp-trac mailing list