[wp-trac] [WordPress Trac] #33687: Customizer: Widgets x Menu inconsistencies
WordPress Trac
noreply at wordpress.org
Thu Sep 3 17:37:00 UTC 2015
#33687: Customizer: Widgets x Menu inconsistencies
--------------------------+--------------------
Reporter: pavelevap | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.4
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+--------------------
Comment (by westonruter):
@pavelevap: It's not necessarily that the theme does not register any
widget areas. In this case, the widgets panel should be hidden from the
start (I'd have to double check that). The issue is when there are no
`dynamic_sidebar()` calls in the current preview.
But I think you have a point: if no sidebars are rendered in the preview,
there will not be any sidebar sections shown in the widgets panel. In this
case, the panel is empty. What we could do in this situation is show some
message in the panel when there are no active sidebar sections to explain
why nothing is there, and to instruct users that they should navigate
around the site within the preview to access the template that has the
sidebar they want to modify.
I'll re-open the ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33687#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list