#20265 closed defect (bug) (fixed)
Update twentyten and twentyeleven to new-style header and background support
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.4 |
| Component: | Bundled Theme | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | info@… |
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)
toscho, thanks for catching those: errors corrected in 20265.2.diff
comment:18
nacin — 14 months ago
In [20223]:
comment:19
nacin — 14 months ago
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed
In [20225]:
comment:19
nacin — 14 months ago
In [20226]:
Note: See
TracTickets for help on using
tickets.

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 be false in TwentyTen and true in TwentyEleven.