Created
July 14, 2016 10:29
-
-
Save solid-pixel/4f6637b80dec8616e2022e95269f67f4 to your computer and use it in GitHub Desktop.
Fix HTTP Error on file upload
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fix HTTP Error on img upload | |
add_filter( 'wp_image_editors', 'change_graphic_lib' ); | |
function change_graphic_lib($array) { | |
return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment