Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#21732 closed defect (bug) (fixed)

Theme customizer: Background attachment selector has no effect in the customizer

Reported by: johnbillion Owned by: duck_
Priority: normal Milestone: 3.5
Component: Customize Version: 3.4.1
Severity: normal Keywords: has-patch needs-testing
Cc: Focuses:

Description

Changing between fixed/scroll has no effect in the customizer, but it does change the background attachment value when you save it and view your site for real.

Attachments (1)

patch.diff​ (4.6 KB ) - added by bainternet 14 years ago.
customize-preview.js and customize-preview.min.js patch

Download all attachments as: .zip

Change History (7)

#1 @nacin
14 years ago

  • Component Themes → Appearance
  • Milestone Awaiting Review → 3.5

@bainternet
14 years ago

customize-preview.js and customize-preview.min.js patch

#2 @bainternet
14 years ago

  • Cc admin@… added

I took a crack at it and in the customize-preview.js line 132 it's

background-position: top


instead of:

background-attachment:

So i created a quick patch ,tested it a bit and it looks good.

#3 @bainternet
14 years ago

  • Keywords has-patch needs-testing added

#4 @duck_
14 years ago

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

In [22131]:

Theme Customizer: Correctly update background-attachment property in live preview

Props bainternet. Fixes #21732.

#5 follow-up: @duck_
14 years ago

Thanks for the patch bainternet! Just a couple of notes for the future:

  1. Don't worry about updating minified JS/CSS
  2. Patching from the root of the trunk checkout is preferred, so svn diff in /path/to/trunk/ instead of /path/to/trunk/wp-includes/js/

#6 in reply to: ↑ 5 @bainternet
14 years ago

Replying to duck_:

Thanks for the patch bainternet! Just a couple of notes for the future:

  1. Don't worry about updating minified JS/CSS
  2. Patching from the root of the trunk checkout is preferred, so svn diff in /path/to/trunk/ instead of /path/to/trunk/wp-includes/js/

Gotcha :)

Note: See TracTickets for help on using tickets.