Backup and Restore WordPress – WPBackItUp Backup Plugin - Version 1.25.0

Version Description

Download this release

Release Info

Developer cssimmon
Plugin Icon 128x128 Backup and Restore WordPress – WPBackItUp Backup Plugin
Version 1.25.0
Comparing to
See all releases

Code changes from version 1.24.0 to 1.25.0

Files changed (3) hide show
  1. lib/includes/update_plugin.php +30 -7
  2. readme.txt +5 -0
  3. wp-backitup.php +2 -2
lib/includes/update_plugin.php CHANGED
@@ -174,17 +174,40 @@ function wpbackitup_update_plugin_minor_routine_1_12($log_name){
174
  WPBackItUp_Logger::log_info($log_name,__METHOD__, 'End upgrade plugin to V1.12' );
175
  }
176
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
  /**
178
- * Minor Version update 1.14
179
  */
180
- function wpbackitup_update_plugin_minor_routine_1_24($log_name){
181
  WPBackItUp_Logger::log_info($log_name,__METHOD__, 'Begin upgrade plugin to V1.24' );
182
 
183
- if (false===WPBackItUp_Utility::get_option( 'license_product_id') ||
184
- empty(WPBackItUp_Utility::get_option( 'license_product_id'))&&
185
- WPBackItUp_Utility::get_option( 'license_type',-1)>0
186
- ){
187
- WPBackItUp_Utility::set_option( 'license_product_id','679');
 
 
 
188
  WPBackItUp_Logger::log_info($log_name,__METHOD__, 'Product Id added to license.' );
189
  } else {
190
  WPBackItUp_Logger::log_info($log_name,__METHOD__, 'Product Id NOT added to license.' );
174
  WPBackItUp_Logger::log_info($log_name,__METHOD__, 'End upgrade plugin to V1.12' );
175
  }
176
 
177
+ ///**
178
+ // * Minor Version update 1.14
179
+ // */
180
+ //function wpbackitup_update_plugin_minor_routine_1_24($log_name){
181
+ // WPBackItUp_Logger::log_info($log_name,__METHOD__, 'Begin upgrade plugin to V1.24' );
182
+ //
183
+ // if (false===WPBackItUp_Utility::get_option( 'license_product_id') ||
184
+ // empty(WPBackItUp_Utility::get_option( 'license_product_id'))&&
185
+ // WPBackItUp_Utility::get_option( 'license_type',-1)>0
186
+ // ){
187
+ // WPBackItUp_Utility::set_option( 'license_product_id','679');
188
+ // WPBackItUp_Logger::log_info($log_name,__METHOD__, 'Product Id added to license.' );
189
+ // } else {
190
+ // WPBackItUp_Logger::log_info($log_name,__METHOD__, 'Product Id NOT added to license.' );
191
+ // }
192
+ //
193
+ //
194
+ // WPBackItUp_Logger::log_info($log_name,__METHOD__, 'End upgrade plugin to V1.24' );
195
+ //}
196
+
197
  /**
198
+ * Minor Version update 1.25
199
  */
200
+ function wpbackitup_update_plugin_minor_routine_1_25($log_name){
201
  WPBackItUp_Logger::log_info($log_name,__METHOD__, 'Begin upgrade plugin to V1.24' );
202
 
203
+ $product_id = get_option( 'wp-backitup_license_product_id',false );
204
+ WPBackItUp_Logger::log_info($log_name,__METHOD__, 'Product Id:' .$product_id);
205
+ $license_type = get_option( 'wp-backitup_license_type',-1);
206
+ WPBackItUp_Logger::log_info($log_name,__METHOD__, 'License Type:' .$license_type);
207
+
208
+ //If no product ID and license type is premium
209
+ if ( (false===$product_id || empty($product_id)) && $license_type>0) {
210
+ update_option('wp-backitup_license_product_id','679');
211
  WPBackItUp_Logger::log_info($log_name,__METHOD__, 'Product Id added to license.' );
212
  } else {
213
  WPBackItUp_Logger::log_info($log_name,__METHOD__, 'Product Id NOT added to license.' );
readme.txt CHANGED
@@ -217,6 +217,11 @@ Our online documentation and full list of FAQs can be found at [support.wpbackit
217
 
218
 
219
  == Changelog ==
 
 
 
 
 
220
  = 1.24 =
221
  *Release Date - July 19, 2018
222
 
217
 
218
 
219
  == Changelog ==
220
+ = 1.25 =
221
+ *Release Date - July 19, 2018
222
+
223
+ * Fix : Fix plugin update to product id
224
+
225
  = 1.24 =
226
  *Release Date - July 19, 2018
227
 
wp-backitup.php CHANGED
@@ -6,7 +6,7 @@
6
  * Description: Backup your content, settings, themes, plugins and media in just a few simple clicks.
7
  * Author: WPBackItUp
8
  * Author URI: https://www.wpbackitup.com
9
- * Version: 1.24.0
10
  * Text Domain: wp-backitup
11
  *
12
  * License: GPL3
@@ -32,7 +32,7 @@ define( 'WPBACKITUP__NAMESPACE', 'wp-backitup' );
32
  define( 'WPBACKITUP__CLASSNAMESPACE', 'WPBackItUp' );
33
 
34
  define( 'WPBACKITUP__MAJOR_VERSION', 1);
35
- define( 'WPBACKITUP__MINOR_VERSION', 24);
36
  define( 'WPBACKITUP__MAINTENANCE_VERSION', 0); //Dont forget to update version in header on WP release
37
  define( 'WPBACKITUP__BUILD_VERSION', 0); //Used for hotfix releases
38
 
6
  * Description: Backup your content, settings, themes, plugins and media in just a few simple clicks.
7
  * Author: WPBackItUp
8
  * Author URI: https://www.wpbackitup.com
9
+ * Version: 1.25.0
10
  * Text Domain: wp-backitup
11
  *
12
  * License: GPL3
32
  define( 'WPBACKITUP__CLASSNAMESPACE', 'WPBackItUp' );
33
 
34
  define( 'WPBACKITUP__MAJOR_VERSION', 1);
35
+ define( 'WPBACKITUP__MINOR_VERSION', 25);
36
  define( 'WPBACKITUP__MAINTENANCE_VERSION', 0); //Dont forget to update version in header on WP release
37
  define( 'WPBACKITUP__BUILD_VERSION', 0); //Used for hotfix releases
38