add_filter('upload_mimes','add_custom_mime_types');
function add_custom_mime_types($mimes){
return array_merge($mimes,array (
'torrent' => 'application/x-bittorrent',
));
}
functions.php eklenerek sorun çözülmüştür
add_filter('upload_mimes','add_custom_mime_types');
function add_custom_mime_types($mimes){
return array_merge($mimes,array (
'torrent' => 'application/x-bittorrent',
));
}