Correct Audio/Video Uploads

Restores the ability to upload audio & video files in recent minor WordPress updates.

Author:Sergey Biryukov (profile at wordpress.org)
WordPress version required:3.7.19
WordPress version tested:4.7.21
Plugin version:1.1
Added to WordPress repository:27-03-2017
Last updated:02-04-2017
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:https://core.trac.wordpress.org/ticket/40085
Total downloads:2 414
Active installs:20+
plugin download
Click to start download

Recent minor updates for WordPress introduced a couple of regressions when uploading audio and video files:

  • On WordPress 4.3.x and earlier branches, audio/video files cannot be uploaded at all due to a fatal error.

    Full list of affected versions: 3.7.19, 3.8.19, 3.9.17, 4.0.16, 4.1.16, 4.2.13, 4.3.9.

    This will be fixed in the next minor update, see the Trac ticket #40085.

  • On WordPress 4.4.x and later branches, audio/video files are uploaded with corrupted thumbnails.

    Full list of affected versions: 4.4.8, 4.5.7, 4.6.4, 4.7.3.

    This will be fixed in the next minor update, see the Trac ticket #40075.

In the meantime, this plugin is a workaround that solves both issues and restores the upload functionality for audio and video files.

Don’t forget to remove the plugin once the next minor WordPress update is available!


ChangeLog