Media Files Addon Changelog

1.4.15 - 2020-02-26

  • Bug fix: Large full size original images are not migrated if they are cropped or resized

1.4.14 - 2019-04-24

  • Bug fix: Storing file data in the `wp_options` table can cause `max_allowed_packet` errors

1.4.13 - 2019-02-07

  • Bug fix: When selecting 'Compare, upload then remove' migration hangs on media stage
  • Bug fix: Media determination fails on multisite blogs where upload_path is set
  • Improvement: Refactor media files push migrations to not get caught by firewalls
  • Improvement: Refactor to remove third-party dependency injection container
  • Improvement: Compatibility with WP Migrate DB Pro 1.9.3

1.4.12 - 2018-11-28

  • Bug Fix: Cli folder not renamed during plugin update

1.4.11 - 2018-11-27

  • New: Increased PHP version requirement from PHP 5.2+ to PHP 5.4+
  • Improvement: Compatibility with WP Migrate DB Pro 1.9
  • Improvement: Major reorganization of the PHP code into better classes and a better folder structure


  • Improvement: Compatibility with WP Migrate DB Pro 1.8.2
  • Improvement: Compatibility with Theme & Plugin Files 1.0


  • New: Compatibility with WP Migrate DB Pro 1.8.1


  • Bug Fix: Media Files migration breaks when WP_CONTENT_URL is set to a relative path


  • Bug Fix: Multisite networks with > 100 sites can only select from first 100 sites when limiting media migration to specific subsite


  • New: Compatibility with WP Migrate DB Pro 1.7
  • Bug Fix: Using deprecated wp_get_sites() function causes PHP Notices in WordPress >= 4.6


  • Bug Fix: Media comparison not working for some migrations between standard and multisite installs


  • New: Compatibility with WP Migrate DB Pro 1.6
  • Bug Fix: Some open_basedir restrictions would cause errors when moving migrated files into place, even when the restrictions were not on the destination paths
  • Bug Fix: Multisite installs with large amounts of files to migrate would sometimes experience a never-ending "determining media to migrate" phase
  • Bug Fix: Media migrations where there are no media files on source site would hang


  • Bug Fix: "File too big" error when post_max_size and upload_max_filesize not set (looking at you HHVM)
  • Bug Fix: Fixed cause of warning about trying to remove remote files that were successfully removed.


  • New: Compatibility with WP Migrate DB Pro 1.5.4
  • New: Compatibility with WP Migrate DB Pro Multisite Tools 1.1


  • Bug Fix: Not handling glob returning false on some systems
  • Bug Fix: Media Files migrations failing with Roots/Trellis framework when using WP_Filesystem


  • New: Compatibility with WP Migrate DB Pro 1.5.2
  • New: Option to only transfer media for selected subsites in multisite installs
  • Improvement: AJAX requests improved to reduce redundant data transfer, processing
  • Improvement: Use WP_Filesystem when possible to improve reliability of filesystem operations
  • Improvement: Simplified media file migration options to 3 radio buttons
  • Improvement: Refactored "compare, upload, then remove" functionality into batches to reduce timeouts
  • Bug Fix: Progress text in migration modal is incorrect when resuming after pause
  • Bug Fix: Primary site in multisite installs not properly detected when BLOG_ID_CURRENT_SITE is not '1'
  • Bug Fix: "Compare and remove" removes more files than expected


  • New: Compatibility with WP Migrate DB Pro 1.5.1


  • New: Compatibility with WP Migrate DB Pro 1.5
  • Improvement: Minified JS
  • Bug fix: Migration halted when file too large to upload
  • Bug fix: Migration files ending in .sql.gz are deleted
  • Bug fix: Translation function and sprintf() reversed


  • Bug fix: Fatal PHP error on PHP 5.2.x


  • See blog post and video for full details
  • Complete rewrite
  • New: Compare remote and local files in batches to fix timeout problems on some common server configurations
  • New: Display progress of comparison and file deletion
  • New: Progress reporting on the CLI


  • New: Option to wipe destination uploads folder and copy entire origin uploads folder
  • New: Compatibility with WP Migrate DB Pro 1.4.4
  • Improvement: Medial Library details added to Debugging Info for easier debugging
  • Improvement: Logging all errors now, each with distinct error codes
  • Improvement: JavaScript errors now displayed in the UI
  • Bug fix: Table doesn't exist errors when migrating selected sites from multisite


  • Improvement: Compatibility with new loading method implemented in WP Migrate DB Pro 1.4.2


  • New: Compatibility with the pause/resume and cancel migration controls
  • New: Compatibility with the CLI addon
  • Bug fix: Was not respecting the "Enable SSL verification" option


  • Security fix: Missing capability and nonce checks for some AJAX requests


  • Bug fix: get_plugins() called on every dashboard page request (major performance issue)
  • Bug fix: Able to activate for subsites in a multisite installation


  • Bug fix: Undefined variable $upload_dir when "Remove local media files" checked


  • New: Push media files! You now have the option of pushing your media files from one location to another
  • Improvement: Better error handling, more information when an error occurs
  • Improvement: Create the required media directories if they don't already exist
  • Bug fix: Undefined index error occurs when a remote media file is missing
  • Bug fix: Resized images were not being included in the migration
  • Bug fix: Media Files not downloading when wpmdb_temporary_prefix filter used


  • Bug fix: Error if the uploads directory doesn't exist yet
  • Bug fix: MP3 files not migrating
  • Bug fix: Basic authentication not working
  • Bug fix: Not working with "Organize my uploads into month- and year-based folders" unchecked
  • Bug fix: Additional letter appended to the start of each filename
  • Bug fix: Login prompt after database migration and before files migration starts
  • Added a little documentation


  • Initial release.