After WP 4.0 update Save Settings not working!

Modern e-commerce WordPress theme to build successful online store with WooCommerce support.
GK User
Sun Sep 07, 2014 1:48 pm
After upgrading to Wordpress 4.0, the Save Settings has not been working - I can't save any changes (in the section 'theme branding', for example). I tried deactivate the plugins and that didn't work.
User avatar
Junior Boarder

GK User
Sun Sep 07, 2014 6:50 pm
Hello,

The issue is probably connected with small changes in the jQuery 1.11.1 which causes a syntax errors in some selectors.

We will release an update for WP 4.0 till Tuesday. The temporary fix is following:

1) Please open file js/back-end/template.options.js in the theme directory

2) Please replace the following fragment:

Code: Select all
var tempField = jQuery('*[data-name=' + usedField + ']');

to:
Code: Select all
var tempField = jQuery('*[data-name="' + usedField + '"]');


3) Please replace the following fragment:

Code: Select all
field = jQuery('*[data-name=' + dependsFrom[j].field + ']');


to:

Code: Select all
field = jQuery('*[data-name="' + dependsFrom[j].field + '"]');


4) Please refresh your browser cache to make sure that your browser is loading an updated version of the modified file in the back-end.
User avatar
Administrator

GK User
Sun Sep 07, 2014 7:58 pm
Thanks a lot! It works perfectly! Regards! Katarzyna
User avatar
Junior Boarder


cron