[wp-trac] [WordPress Trac] #36534: Media Upload Issue Since 4.5 Upgrade

WordPress Trac noreply at wordpress.org
Mon Dec 12 16:34:34 UTC 2016


#36534: Media Upload Issue Since 4.5 Upgrade
---------------------------------------+-----------------------------
 Reporter:  unicornbacon               |       Owner:  joemcgill
     Type:  defect (bug)               |      Status:  reopened
 Priority:  normal                     |   Milestone:  Future Release
Component:  Media                      |     Version:  4.5
 Severity:  normal                     |  Resolution:
 Keywords:  needs-testing needs-patch  |     Focuses:
---------------------------------------+-----------------------------

Comment (by asirota):

 Replying to [comment:69 pkilmartin]:

 >
 > I put in place the pre-upgrade public_html directory (from prior to the
 migration) and changed db_version in wp_options from 36686 to 35700.  This
 was effective.  Hopefully all the db changes are backwards compatible
 (couldn't find documentation on the db changes).
 >
 > Of note is that the images were always uploaded, they just showed as
 broken in the media library and in the posts, when tried.

 That's what I was seeing as well, in terms of thumbnails breaking. As per
 a previous profiling post by @joemcgill it looks like the changes in 4.5
 require more horsepower and time to process and depending on the input and
 configuration they break in certain situations. Seems like we'd need to
 setup some conditions to check what the resources are available in the
 current configuration and fail back to GD although setting these
 parameters is probably not easily determined or accurate. Tough problem!

 Maybe catching the HTTP error and reprocessing with GD would be an
 alternative?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36534#comment:106>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list