Opened 11 years ago
Closed 10 years ago
#27787 closed defect (bug) (fixed)
Show some Customizer buttons only when needed
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.2 | Priority: | low |
Severity: | normal | Version: | 3.9 |
Component: | Customize | Keywords: | has-patch |
Focuses: | ui | Cc: |
Description
Buttons "Randomize uploaded headers", "Randomize suggested headers" and "Reorder" (for widgets) should be visible only for more than 1 item (for header images) and more than zero item (for widgets)?
Attachments (1)
Change History (5)
#3
@
10 years ago
- Focuses ui added
- Keywords has-patch added
- Milestone changed from Awaiting Review to 4.2
Let's keep the randomize headers button per ehg.
For widgets, I've attached a patch that hides the reorder toggle when there are no widgets. In this patch, the button is shown when there is only one widget in the sidebar, for the move-to-widget-area functionality.
Note: See
TracTickets for help on using
tickets.
With regard to the Header randomize button, it is intentionally shown when there is only one image for discoverability reasons. See https://core.trac.wordpress.org/ticket/21785#comment:37