Opened 10 years ago
Closed 10 years ago
#30690 closed defect (bug) (fixed)
Customizer: Hide button for moving widgets to another area when there is only one area
Reported by: | pavelevap | Owned by: | ocean90 |
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | Customize | Keywords: | has-patch |
Focuses: | ui | Cc: |
Description
Moving widgets to another widgetized area should be available only when there is one more widget area...
Attachments (2)
Change History (7)
#2
@
10 years ago
- Keywords has-patch needs-testing added; needs-patch removed
- Milestone changed from Awaiting Review to 4.2
- Type changed from enhancement to defect (bug)
- Version changed from 4.0.1 to 3.9
Definitely shouldn't have the option to move a widget if there's nowhere to move it too. With the attached patch, my understanding is that if a second sidebar becomes available when navigating in the preview, the move-widget buttons should become visible again, although I couldn't find any themes that do that in my quick testing.
#3
@
10 years ago
- Owner set to ocean90
- Resolution set to fixed
- Status changed from new to closed
In 31252:
#4
@
10 years ago
- Keywords needs-testing removed
- Resolution fixed deleted
- Status changed from closed to reopened
Since the sidebar selector shows only rendered sidebars we can't use $sidebarItems.length
. 30690.2.diff should fix this.
Note: See
TracTickets for help on using
tickets.
If there's only one available sidebar, hide the move-widget button.