Changes between Initial Version and Version 2 of Ticket #22118
- Timestamp:
- 10/06/12 18:04:15 (9 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22118
- Property Status changed from new to closed
- Property Resolution changed from to duplicate
- Property Milestone changed from Awaiting Review to
-
Ticket #22118 – Description
initial v2 1 1 When wp_customize_support_script() runs, it removes 'no-customize-support' from the list of classes applied to the body tag. 2 2 3 The regular expression used to match that class includes whitespace either side of the class name, and then replaces the entire thing with ''.3 The regular expression used to match that class includes whitespace either side of the class name, and then replaces the entire thing with `''`. 4 4 5 5 This results in concatenation of any previously-adjacent classes, which in turn can leave you with a body class looking something like this: … … 9 9 Note: `admin-barcustom-background`, which breaks any CSS applied to either of those classes. 10 10 11 Instead of replacing with '', just replace with ' ', which will leave a space and thus leave both classes being valid.11 Instead of replacing with `''`, just replace with `' '`, which will leave a space and thus leave both classes being valid.