Sorry, this file type is not permitted for security reasons
-
“Sorry, this file type is not permitted for security reasons.”
I tried to add to functions.php of theme:
function additional_mime_types( $mimes ) {
$mimes[‘json’] = ‘application/json’;
return $mimes;
}
add_filter( ‘upload_mimes’, ‘additional_mime_types’ );Tried to add to functions.php in wp-includes in stroke 2448:
‘json’ => ‘application/json’,Tried to install WP REST API and PJW Mime Config plugins. Nothing fixes this permittion! :((( Help, please!
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Sorry, this file type is not permitted for security reasons’ is closed to new replies.