#20265 closed defect (bug) (fixed)
Update twentyten and twentyeleven to new-style header and background support
| Reported by: | sabreuse | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.4 |
| Component: | Bundled Theme | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
#20249 deprecates add_custom_image_header() and add_custom_background() in favor of add_theme_support. This patch updates the bundled themes to the new style.
Attachments (2)
Change History (10)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Shouldn’t that be:
add_image_size( 'large-feature', get_theme_support( 'custom-header', 'width' ), get_theme_support( 'custom-header', 'height' ), true );The
'random-default'parameter values are wrong: It should befalsein TwentyTen andtruein TwentyEleven.