Opened 14 years ago
Closed 12 years ago
#21510 closed defect (bug) (fixed)
Use get_background_color() in _custom_background_cb()
| Reported by: | greenshady | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.9 |
| Component: | Customize | Version: | 3.4.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
When themes add a default background color via the custom-background feature, it isn't shown until the user saves it in the admin. The issue is that the _custom_background_cb() uses get_theme_mod( 'background_color' ) instead of get_background_color(), which will handle the default.
The attached patch should correct this.
Attachments (1)
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Related: #20448