: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
function icl_cf_translation_preferences_submit(cf, obj) {
data: 'action=wpml_ajax&icl_ajx_action=wpml_cf_translation_preferences&translate_action='+obj.parent().children('input:[name="wpml_cf_translation_preferences['+cf+']"]:checked').val()+'&'+obj.parent().children('input:[name="wpml_cf_translation_preferences_data_'+cf+'"]').val() + '&_icl_nonce = ' + jQuery('#_icl_nonce_cftpn').val(),
jQuery('#wpml_cf_translation_preferences_ajax_response_'+cf).html('Error occured');
beforeSend: function(html){
jQuery('#wpml_cf_translation_preferences_ajax_response_'+cf).html(icl_ajxloaderimg);
jQuery('#wpml_cf_translation_preferences_ajax_response_'+cf).html(html);
WPML_core.redirectUploadsOnLangParam = function() {
var path = window.location.pathname,
upload_screen_file = 'upload.php',
has_lang_param = 1 === window.location.search.search('lang');
if (path.slice(upload_screen_file.length * -1) === upload_screen_file && has_lang_param) {
jQuery('ready', WPML_core.redirectUploadsOnLangParam() );