[wp-trac] [WordPress Trac] #36534: Media Upload Issue Since 4.5 Upgrade
WordPress Trac
noreply at wordpress.org
Sat Apr 23 22:32:43 UTC 2016
#36534: Media Upload Issue Since 4.5 Upgrade
--------------------------+------------------------
Reporter: unicornbacon | Owner: joemcgill
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.5.2
Component: Media | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------
Comment (by tmm63):
Replying to [comment:25 aldon]:
I added this the lines to my functions.php file and it worked. I would
like to understand exactly what this is doing. :-) And a permanent fix
would be desireable. Thank you @unicornbacon for reporting the issue!
> also check the http error when uploading photos on media. some working
fixes:
>
> on functions.php on theme add this
> {{{
> add_filter( 'wp_image_editors', 'change_graphic_lib' );
>
> function change_graphic_lib($array) {
> return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
> }
> }}}
> ____
>
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36534#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list