Fix for Customizer Bug
-
Hello friends, thanks for a very useful free plugin!
We recently encountered a bug where a theme customer of ours wasn’t able to save any changes via the Customizer if Masteriyo was active. Just sharing the fix here in case it either helps someone in a pinch, or potentially could be addressed in a future update. 🤞
All edits are in /includes/Masteriyo.php.
Line 200, change
add_actiontoadd_filter(sincecustomize_changeset_save_datais a filter):add_filter( 'customize_changeset_save_data', array( $this, 'sync_theme_global_colors' ) );Line 1441, change to:
return $data;Line 1455, change to:
return $data;Line 1467, insert new line:
return $data;These tweaks prevent the changeset content from always being
null.
You must be logged in to reply to this topic.