Opened 14 years ago
Closed 14 years ago
#20763 closed defect (bug) (fixed)
Custom Background: "Restore Original Image" button displays when the original image is in the preview.
| Reported by: | mfields | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.4 |
| Component: | Customize | Version: | 3.4 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
Here's a screenshot:
https://img.skitch.com/20120527-c5k5p7b1quqg2pfncx3b2i5emc.png
The textured image shown in the preview is the default-image specified in the call to add_theme_support( 'custom-background' ). Although the default image is currently selected as the background image, users are still given the option to restore the original image. I think that it would be best to hide the button in cases like this.
A patch is on the way!
Attachments (2)
Change History (6)
#3
@
14 years ago
20763.2.diff does the same for "Reset Image" button in custom-header.php.
It's a bit weird that the buttons are in different places: on Custom Background screen, it's in the middle; on Custom Header screen, it's in the bottom.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Loks good.