Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/sitepres.../inc/setup
File: wpml-media-duplication-setup.php
<?php
[0] Fix | Delete
[1] Fix | Delete
class WPML_Media_Duplication_Setup {
[2] Fix | Delete
[3] Fix | Delete
const MEDIA_SETTINGS_OPTION_KEY = '_wpml_media';
[4] Fix | Delete
[5] Fix | Delete
public static function initialize_settings(){
[6] Fix | Delete
if ( ! get_option( self::MEDIA_SETTINGS_OPTION_KEY, array() ) ){
[7] Fix | Delete
$settings = array(
[8] Fix | Delete
'new_content_settings' => array(
[9] Fix | Delete
'always_translate_media' => true,
[10] Fix | Delete
'duplicate_media' => true,
[11] Fix | Delete
'duplicate_featured' => true,
[12] Fix | Delete
)
[13] Fix | Delete
);
[14] Fix | Delete
update_option( self::MEDIA_SETTINGS_OPTION_KEY, $settings );
[15] Fix | Delete
}
[16] Fix | Delete
}
[17] Fix | Delete
[18] Fix | Delete
}
[19] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function