All-in-One WP Migration - Version 7.52

Version Description

Fixed

  • Out of disk space when exporting database.sql
Download this release

Release Info

Developer bangelov
Plugin Icon 128x128 All-in-One WP Migration
Version 7.52
Comparing to
See all releases

Code changes from version 7.51 to 7.52

Files changed (4) hide show
  1. all-in-one-wp-migration.php +1 -1
  2. constants.php +1 -1
  3. functions.php +2 -0
  4. readme.txt +7 -2
all-in-one-wp-migration.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Migration tool for all your blog data. Import or Export your blog content with a single click.
6
  * Author: ServMask
7
  * Author URI: https://servmask.com/
8
- * Version: 7.51
9
  * Text Domain: all-in-one-wp-migration
10
  * Domain Path: /languages
11
  * Network: True
5
  * Description: Migration tool for all your blog data. Import or Export your blog content with a single click.
6
  * Author: ServMask
7
  * Author URI: https://servmask.com/
8
+ * Version: 7.52
9
  * Text Domain: all-in-one-wp-migration
10
  * Domain Path: /languages
11
  * Network: True
constants.php CHANGED
@@ -35,7 +35,7 @@ define( 'AI1WM_DEBUG', false );
35
  // ==================
36
  // = Plugin Version =
37
  // ==================
38
- define( 'AI1WM_VERSION', '7.51' );
39
 
40
  // ===============
41
  // = Plugin Name =
35
  // ==================
36
  // = Plugin Version =
37
  // ==================
38
+ define( 'AI1WM_VERSION', '7.52' );
39
 
40
  // ===============
41
  // = Plugin Name =
functions.php CHANGED
@@ -1403,6 +1403,8 @@ function ai1wm_write( $handle, $content ) {
1403
  if ( ( $meta = stream_get_meta_data( $handle ) ) ) {
1404
  throw new Ai1wm_Not_Writable_Exception( sprintf( __( 'Unable to write to: %s. <a href="https://help.servmask.com/knowledgebase/invalid-file-permissions/" target="_blank">Technical details</a>', AI1WM_PLUGIN_NAME ), $meta['uri'] ) );
1405
  }
 
 
1406
  } elseif ( strlen( $content ) !== $write_result ) {
1407
  if ( ( $meta = stream_get_meta_data( $handle ) ) ) {
1408
  throw new Ai1wm_Quota_Exceeded_Exception( sprintf( __( 'Out of disk space. Unable to write to: %s. <a href="https://help.servmask.com/knowledgebase/out-of-disk-space/" target="_blank">Technical details</a>', AI1WM_PLUGIN_NAME ), $meta['uri'] ) );
1403
  if ( ( $meta = stream_get_meta_data( $handle ) ) ) {
1404
  throw new Ai1wm_Not_Writable_Exception( sprintf( __( 'Unable to write to: %s. <a href="https://help.servmask.com/knowledgebase/invalid-file-permissions/" target="_blank">Technical details</a>', AI1WM_PLUGIN_NAME ), $meta['uri'] ) );
1405
  }
1406
+ } elseif ( null === $write_result ) {
1407
+ return strlen( $content );
1408
  } elseif ( strlen( $content ) !== $write_result ) {
1409
  if ( ( $meta = stream_get_meta_data( $handle ) ) ) {
1410
  throw new Ai1wm_Quota_Exceeded_Exception( sprintf( __( 'Out of disk space. Unable to write to: %s. <a href="https://help.servmask.com/knowledgebase/out-of-disk-space/" target="_blank">Technical details</a>', AI1WM_PLUGIN_NAME ), $meta['uri'] ) );
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: yani.iliev, bangelov, pimjitsawang
3
  Tags: move, transfer, copy, migrate, backup, clone, restore, db migration, wordpress migration, website migration, database export, database import, apoyo, sauvegarde, di riserva, バックアップ
4
  Requires at least: 3.3
5
- Tested up to: 5.8
6
  Requires PHP: 5.2.17
7
- Stable tag: 7.51
8
  License: GPLv2 or later
9
 
10
  Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
@@ -89,6 +89,11 @@ All-in-One WP Migration is in full compliance with General Data Protection Regul
89
  See our [GDPR Compliant Privacy Policy here](https://www.iubenda.com/privacy-policy/946881).
90
 
91
  == Changelog ==
 
 
 
 
 
92
  = 7.51 =
93
  **Added**
94
 
2
  Contributors: yani.iliev, bangelov, pimjitsawang
3
  Tags: move, transfer, copy, migrate, backup, clone, restore, db migration, wordpress migration, website migration, database export, database import, apoyo, sauvegarde, di riserva, バックアップ
4
  Requires at least: 3.3
5
+ Tested up to: 5.9
6
  Requires PHP: 5.2.17
7
+ Stable tag: 7.52
8
  License: GPLv2 or later
9
 
10
  Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
89
  See our [GDPR Compliant Privacy Policy here](https://www.iubenda.com/privacy-policy/946881).
90
 
91
  == Changelog ==
92
+ = 7.52 =
93
+ **Fixed**
94
+
95
+ * Out of disk space when exporting database.sql
96
+
97
  = 7.51 =
98
  **Added**
99