unFocus / Scripts-n-Styles

Allows WordPress admin users the ability to add custom CSS and JavaScript directly to individual Post, Pages or custom post types.

Home Page:http://www.unFocus.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cloudflare conflict

jonathanstanley opened this issue · comments

Over the last few weeks, we've been noticing an issue with scripts-n-styles where it isn't possible to edit or save the shortcodes in the admin.

screenshot-p5 zdusercontent com 2015-08-12 10-10-02
It seems there is a conflict between cloudflare and sns javascript. Specifically, the CodeMirror updates seem to be having trouble (as you can see from the screenshot). However, this conflict hasn't occurred until just recently, and I just wanted to pass it along in case others have the problem or find a solution.

As a stopgap, we disabled cloudflare acceleration in the wp-admin (described here https://support.cloudflare.com/hc/en-us/articles/201717894-Using-CloudFlare-and-WordPress-Five-Easy-First-Steps)