Skip to content

Custom CSS: Prevent KSES from running during migration#5992

Merged
samhotchkiss merged 1 commit intomasterfrom
fix/css-migrate-caps
Feb 10, 2017
Merged

Custom CSS: Prevent KSES from running during migration#5992
samhotchkiss merged 1 commit intomasterfrom
fix/css-migrate-caps

Conversation

@iandunn
Copy link
Copy Markdown

@iandunn iandunn commented Dec 23, 2016

If the user that triggers the migration doesn't have unfiltered_html, then the CSS will get mangled by KSES. For example,

.main-navigation .current-menu-item > a,

...becomes:

.main-navigation .current-menu-item > a,

Some sites have DISALLOW_UNFILTERED_HTML defined, so no users (not even Super Admins) will have unfiltered_html.

See #5843

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug When a feature is broken and / or not performing as intended [Feature] Custom CSS [Pri] High

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants