Documentation

Media Files Addon Changelog

2.1.0 - Oct 19, 2021

  • Improvement: New and modified media files can now be migrated based on the date of the last migration or a user-specified date

2.0.3 - Aug 30, 2021

  • Bug fix: Migration gets stuck on scanning the media library with a large file count.
  • Bug fix: Some files aren’t migrated when using CLI.

2.0.2 - Jun 21, 2021

  • Improvement: Support for large media library migrations
  • Improvement: Support for symlinked uploads directory
  • Bug fix: Memory exhaustion error when migrating large media libraries
  • Bug fix: Excluded directories not being ignored during media library scan
  • Bug fix: Custom uploads directory path outside of wp-content folder not migrating correctly

2.0.1 - May 06, 2021

  • Bug fix: Media files push migrations not working if local site has a custom uploads directory

2.0 - Apr 28, 2021

  • New: Compatibility with WP Migrate DB Pro 2.0
  • New: Complete rewrite of the Media Files addon
  • New: Determine media to migrate by scanning the filesystem instead of the database
  • New: Replaced old migration options with migrate all files and migrate new files since a specified date
  • New: Ability to exclude specific file types from the media migration

1.4.16 - Feb 03, 2021

  • Improvement: Pushing large files causes memory exhaustion

1.4.15 - Feb 26, 2020

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

1.4.14 - Apr 24, 2019

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

1.4.13 - Feb 07, 2019

  • 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
  • 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

1.4.12 - Nov 28, 2018

  • Bug fix: Cli folder not renamed during plugin update

1.4.11 - Nov 27, 2018

  • 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

1.4.10 - Sep 18, 2018

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

1.4.9 - Nov 09, 2017

  • New: Compatibility with WP Migrate DB Pro 1.8.1

1.4.8 - Sep 14, 2017

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

1.4.7 - Dec 15, 2016

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

1.4.6 - Nov 01, 2016

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

1.4.5 - Jul 12, 2016

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

1.4.4 - Apr 25, 2016

  • 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

1.4.3 - Feb 17, 2016

  • 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.

1.4.2 - Feb 03, 2016

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

1.4.1 - Dec 09, 2015

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

1.4 - Sep 21, 2015

  • 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:
  • 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

1.3.3 - Jul 15, 2015

  • New: Compatibility with WP Migrate DB Pro 1.5.1

1.3.2 - Jun 24, 2015

  • 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

1.3.1 - Feb 06, 2015

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

1.3 - Jan 26, 2015

  • View Release Post
  • New: 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

1.2 - Nov 10, 2014

  • 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

1.1.5 - Aug 28, 2014

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

1.1.4 - Jun 24, 2014

  • 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

1.1.3 - May 16, 2014

  • New: Missing capability and nonce checks for some AJAX requests

1.1.2 - Apr 19, 2014

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

1.1.1 - Mar 19, 2014

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

1.1 - Mar 11, 2014

  • 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

1.0.1 - Feb 05, 2014

  • Improvement: Added a little documentation
  • 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

1.0 - Dec 13, 2013

  • New: Initial release.