WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#22347 closed defect (bug) (fixed)

Wrong default_background_color in Twenty Eleven

Reported by: miqrogroove Owned by: nacin
Milestone: 3.5 Priority: normal
Severity: normal Version: 3.4.2
Component: Bundled Theme Keywords: has-patch
Focuses: Cc:

Description

In functions.php:

		$default_background_color = 'f1f1f1';

In style.css:

body {
	background: #e2e2e2;
}

As a result, when the user goes to the Custom Background screen for the first time, the background color value says #f1f1f1, which is not accurate.

Found in 3.4.2. Confirmed in trunk. Attaching a patch file.

Attachments (1)

miqro-twenty-eleven-default-bg-color.diff (547 bytes) - added by miqrogroove 2 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 @miqrogroove2 years ago

  • Keywords has-patch added

comment:2 @SergeyBiryukov2 years ago

  • Milestone changed from Awaiting Review to 3.5

Confirmed. Introduced in [20973].

Seems like a copy/paste from Twenty Ten, where the default background color is indeed #f1f1f1.

comment:3 @nacin2 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 22408:

Proper default background color for Twenty Eleven. props miqrogroove. fixes #22347.

comment:4 @miqrogroove2 years ago

Thank you Sergey and Nacin :)

Note: See TracTickets for help on using tickets.