There is a second issue with Avada the team should look into: when resetting the Avada cache in the original language, it works, but in other languages we get a 403 error.
hidden link > Performance > at the very bottom
This error is reproducable across all our projects with Avada and WPML. But it worked in the past - I discovered this behaviour a few weeks back for the first time.
// Get default language.
$default_language = Fusion_Multilingual::get_default_language();
// Get current language
$current_language = apply_filters('wpml_current_language', NULL);
if ($current_language !== $default_language) {
check_ajax_referer('fusionredux_ajax_noncefusion_options_' . $current_language . '', 'nonce');
}
// Check English or All languages
if ('' === $current_language || 'en' === $current_language) {
check_ajax_referer('fusionredux_ajax_noncefusion_options', 'nonce');
}