• Resolved acurrie314

    (@acurrie314)


    Whenever I try to upload .js and .css files as a local resource, I’m getting this error: An error was thrown while trying to upload the resource: “Sorry, this file type is not permitted for security reasons.”

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter acurrie314

    (@acurrie314)

    was able to get around it adding : define(‘ALLOW_UNFILTERED_UPLOADS’, true);

    to wp config file

    how to edit wp config file in order to add : define(‘ALLOW_UNFILTERED_UPLOADS’, true);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘js and css uploads’ is closed to new replies.