Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#22347 closed defect (bug) (fixed)

Wrong default_background_color in Twenty Eleven

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


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 11 years ago.

Download all attachments as: .zip

Change History (5)

#1 @miqrogroove
11 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
11 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.

#3 @nacin
11 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.

#4 @miqrogroove
11 years ago

Thank you Sergey and Nacin :)

Note: See TracTickets for help on using tickets.