All-in-One WP Migration - Version 1.8.1

Version Description

  • Added "Get Support" link in the plugin list page
  • Removed "All in One WP Migration Beta" link from the readme file
Download this release

Release Info

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

Code changes from version 1.8.0 to 1.8.1

all-in-one-wp-migration.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /**
3
  * Plugin Name: All-in-One WP Migration
4
- * Plugin URI: http://servmask.com/
5
  * Description: Migration tool for all your blog data
6
  * Author: ServMask
7
- * Author URI: http://servmask.com/
8
- * Version: 1.8.0
9
  *
10
  * Copyright (C) 2013 ServMask LLC
11
  *
@@ -32,6 +32,15 @@
32
  @set_time_limit( 0 );
33
  @ini_set( 'max_input_time', '-1' );
34
 
 
 
 
 
 
 
 
 
 
35
  // include constants
36
  require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'constants.php';
37
 
1
  <?php
2
  /**
3
  * Plugin Name: All-in-One WP Migration
4
+ * Plugin URI: https://servmask.com/
5
  * Description: Migration tool for all your blog data
6
  * Author: ServMask
7
+ * Author URI: https://servmask.com/
8
+ * Version: 1.8.1
9
  *
10
  * Copyright (C) 2013 ServMask LLC
11
  *
32
  @set_time_limit( 0 );
33
  @ini_set( 'max_input_time', '-1' );
34
 
35
+ // Plugin Basename
36
+ define( 'AI1WM_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
37
+
38
+ // Plugin Path
39
+ define( 'AI1WM_PATH', dirname( __FILE__ ) );
40
+
41
+ // Plugin Url
42
+ define( 'AI1WM_URL', plugins_url( '', __FILE__ ) );
43
+
44
  // include constants
45
  require_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'constants.php';
46
 
constants.php CHANGED
@@ -26,23 +26,13 @@
26
  // ==================
27
  // = Plugin VERSION =
28
  // ==================
29
- define( 'AI1WM_VERSION', '1.8.0' );
30
 
31
  // ===============
32
  // = Plugin Name =
33
  // ===============
34
  define( 'AI1WM_PLUGIN_NAME', 'all-in-one-wp-migration' );
35
 
36
- // ===================
37
- // = Plugin Basename =
38
- // ===================
39
- define( 'AI1WM_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
40
-
41
- // ===============
42
- // = Plugin Path =
43
- // ===============
44
- define( 'AI1WM_PATH', dirname( __FILE__ ) );
45
-
46
  // ===============
47
  // = Storage Path =
48
  // ===============
@@ -78,11 +68,6 @@ define( 'AI1WM_EXCEPTION_PATH', AI1WM_LIB_PATH . DIRECTORY_SEPARATOR . 'exceptio
78
  // ===============
79
  define( 'AI1WM_VENDOR_PATH', AI1WM_LIB_PATH . DIRECTORY_SEPARATOR . 'vendor' );
80
 
81
- // ==============
82
- // = Plugin Url =
83
- // ==============
84
- define( 'AI1WM_URL', plugins_url( '', __FILE__ ) );
85
-
86
  // ==============
87
  // = ServMask Feedback Url =
88
  // ==============
26
  // ==================
27
  // = Plugin VERSION =
28
  // ==================
29
+ define( 'AI1WM_VERSION', '1.8.1' );
30
 
31
  // ===============
32
  // = Plugin Name =
33
  // ===============
34
  define( 'AI1WM_PLUGIN_NAME', 'all-in-one-wp-migration' );
35
 
 
 
 
 
 
 
 
 
 
 
36
  // ===============
37
  // = Storage Path =
38
  // ===============
68
  // ===============
69
  define( 'AI1WM_VENDOR_PATH', AI1WM_LIB_PATH . DIRECTORY_SEPARATOR . 'vendor' );
70
 
 
 
 
 
 
71
  // ==============
72
  // = ServMask Feedback Url =
73
  // ==============
lib/controller/class-ai1wm-main-controller.php CHANGED
@@ -82,9 +82,24 @@ class Ai1wm_Main_Controller
82
  add_action( 'get_header', array( $this, 'activate_maintenance_mode' ) );
83
  }
84
 
 
 
 
85
  return $this;
86
  }
87
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  /**
89
  * Register listeners for filters
90
  * @return Object Instance of this class
@@ -103,7 +118,7 @@ class Ai1wm_Main_Controller
103
  '<h1>%s</h1><p>%s<br /><strong>%s%s</strong></p>',
104
  _( 'Website Under Maintenance' ),
105
  _( 'Hi, our Website is currently undergoing scheduled maintenance' ),
106
- _( 'Please check back very soon.' ),
107
  _( 'Sorry for the inconvenience!' )
108
  );
109
 
82
  add_action( 'get_header', array( $this, 'activate_maintenance_mode' ) );
83
  }
84
 
85
+ // Add a links to plugin list page
86
+ add_filter( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 2 );
87
+
88
  return $this;
89
  }
90
 
91
+ /**
92
+ * Add a links to plugin list page
93
+ * @return void
94
+ */
95
+ public function plugin_row_meta( $links, $file ) {
96
+ if ( $file == AI1WM_PLUGIN_BASENAME ) {
97
+ $links[] = sprintf( __( '<a href="%s" target="_blank">Get Support</a>', AI1WM_PLUGIN_NAME ), 'https://servmask.com/#contactModal' );
98
+ }
99
+
100
+ return $links;
101
+ }
102
+
103
  /**
104
  * Register listeners for filters
105
  * @return Object Instance of this class
118
  '<h1>%s</h1><p>%s<br /><strong>%s%s</strong></p>',
119
  _( 'Website Under Maintenance' ),
120
  _( 'Hi, our Website is currently undergoing scheduled maintenance' ),
121
+ _( 'Please check back very soon. ' ),
122
  _( 'Sorry for the inconvenience!' )
123
  );
124
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: yani.iliev, bangelov, mirkov
3
  Tags: db migration, migration, wordpress migration, db backup, db restore, website backup, website restore, website migration, website deploy, wordpress deploy, db backup, database export, database serialization, database find replace
4
  Requires at least: 3.3
5
  Tested up to: 3.9
6
- Stable tag: 1.8.0
7
  License: GPLv2 or later
8
 
9
  All-in-One WP Migration is the only tools that you will ever needs when you need to perform site migration of your WordPress blog.
@@ -53,7 +53,10 @@ All in One WP Plugin is the first plugin to offer true mobile experience on Word
53
  * Users picker - select the users that you want to include in your export
54
 
55
  **If you signup for our beta program, you will receive a free license for the commercial version when we release it as well as a few other perks like a free staging platform and access to our super-fast `Opinionated WordPress Hosting`.**
56
- [All in One WP Migration Beta](https://servmask.com/beta "All in One WP Migration")
 
 
 
57
 
58
  [youtube http://www.youtube.com/watch?v=5FMzLf9a4Dc]
59
 
@@ -70,6 +73,10 @@ All in One WP Plugin is the first plugin to offer true mobile experience on Word
70
  3. Plugin Menu
71
 
72
  == Changelog ==
 
 
 
 
73
  = 1.8.0 =
74
  * Added support for dynamically recognizing Site URL and Home URL on the import page
75
  * Fixed a bug when maximum uploaded size is exceeded
3
  Tags: db migration, migration, wordpress migration, db backup, db restore, website backup, website restore, website migration, website deploy, wordpress deploy, db backup, database export, database serialization, database find replace
4
  Requires at least: 3.3
5
  Tested up to: 3.9
6
+ Stable tag: 1.8.1
7
  License: GPLv2 or later
8
 
9
  All-in-One WP Migration is the only tools that you will ever needs when you need to perform site migration of your WordPress blog.
53
  * Users picker - select the users that you want to include in your export
54
 
55
  **If you signup for our beta program, you will receive a free license for the commercial version when we release it as well as a few other perks like a free staging platform and access to our super-fast `Opinionated WordPress Hosting`.**
56
+
57
+ * [Get free help from us here](https://servmask.com/#contactModal)
58
+ * [Report a bug or request a feature](https://servmask.com/#contactModal)
59
+ * [Find out more about us](https://servmask.com)
60
 
61
  [youtube http://www.youtube.com/watch?v=5FMzLf9a4Dc]
62
 
73
  3. Plugin Menu
74
 
75
  == Changelog ==
76
+ = 1.8.1 =
77
+ * Added "Get Support" link in the plugin list page
78
+ * Removed "All in One WP Migration Beta" link from the readme file
79
+
80
  = 1.8.0 =
81
  * Added support for dynamically recognizing Site URL and Home URL on the import page
82
  * Fixed a bug when maximum uploaded size is exceeded