Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#26731 closed defect (bug) (fixed)

Custom Backgrounds Preview Callback replaces too much

Reported by: obenland Owned by: SergeyBiryukov
Priority: normal Milestone: 3.9
Component: Customize Version: 3.0
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

Instead of just replacing the content of the table cell with the custom background preview, it also replaces the section heading and the form table head.

See ​custom header vs. ​custom background.
Introduced in r14209.
​IRC log discussing the best way to fix it.

Attachments (1)

26731.diff​ (3.2 KB ) - added by obenland 13 years ago.

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
13 years ago

Also noticed that id="custom-background" (introduced in [13303]) is no longer used since [17885] and can probably be removed.

#2 @SergeyBiryukov
13 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 26878:

Always show Background Image section heading and the opening table tag on Custom Background screen, to make in consistent with Custom Header and avoid broken markup.

props obenland.
fixes #26731.

Note: See TracTickets for help on using tickets.