Opened 12 years ago
Closed 12 years ago
#27787 closed defect (bug) (fixed)
Show some Customizer buttons only when needed
| Reported by: | pavelevap | Owned by: | ocean90 |
|---|---|---|---|
| Priority: | low | Milestone: | 4.2 |
| Component: | Customize | Version: | 3.9 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | ui |
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
@
12 years ago
- Focuses ui added
- Keywords has-patch added
- Milestone Awaiting Review → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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