Opened 9 years ago
Closed 9 years ago
#30160 closed enhancement (fixed)
Twenty Fifteen: Improve naming and documentation of Customizer JS files
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | 4.1 |
Component: | Bundled Theme | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description
js/customizer.js
is really customize-preview.js
- as it runs in the Customizer preview, not the main Customizer window. Also note that all core files use customize
, not customizer
in filenames, although themes generally don't follow that convention. Patch renames that file and updates the docs of that and js/color-scheme-control.js
(which is really more of a customizer.js
type of a file, but only needs to touch color schemes) to be more precise with respect to what those files are for. I imagine the docs will be improved further in #30149.
Attachments (2)
Change History (9)
#3
@
9 years ago
With the above patch applied my local blog title and tagline are updating only in the customizer panel and not in the blog view. Pre-patch, everything is working correctly. @iamtakashi or @celloexpressions can you confirm?
Rename
js/customizer.js
tojs/customize-preview.js
and make some docs tweaks. I don't think the renaming part patched correctly.