WP-DBManager - Version 2.80.5

Version Description

Download this release

Release Info

Developer GamerZ
Plugin Icon WP-DBManager
Version 2.80.5
Comparing to
See all releases

Code changes from version 2.80.3 to 2.80.5

database-backup.php CHANGED
@@ -15,7 +15,7 @@ $backup['date'] = current_time('timestamp');
15
  $backup['mysqldumppath'] = $backup_options['mysqldumppath'];
16
  $backup['mysqlpath'] = $backup_options['mysqlpath'];
17
  $backup['path'] = $backup_options['path'];
18
- $backup['charset'] = ' --default-character-set="utf8"';
19
 
20
  ### Form Processing
21
  if(!empty($_POST['do'])) {
15
  $backup['mysqldumppath'] = $backup_options['mysqldumppath'];
16
  $backup['mysqlpath'] = $backup_options['mysqlpath'];
17
  $backup['path'] = $backup_options['path'];
18
+ $backup['charset'] = ' --default-character-set="utf8mb4"';
19
 
20
  ### Form Processing
21
  if(!empty($_POST['do'])) {
database-manage.php CHANGED
@@ -14,7 +14,7 @@ $backup['date'] = current_time('timestamp');
14
  $backup['mysqldumppath'] = $backup_options['mysqldumppath'];
15
  $backup['mysqlpath'] = $backup_options['mysqlpath'];
16
  $backup['path'] = $backup_options['path'];
17
- $backup['charset'] = ' --default-character-set="utf8"';
18
 
19
 
20
  ### Form Processing
14
  $backup['mysqldumppath'] = $backup_options['mysqldumppath'];
15
  $backup['mysqlpath'] = $backup_options['mysqlpath'];
16
  $backup['path'] = $backup_options['path'];
17
+ $backup['charset'] = ' --default-character-set="utf8mb4"';
18
 
19
 
20
  ### Form Processing
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: GamerZ
3
  Donate link: http://lesterchan.net/site/donation/
4
  Tags: database, manage, wp-dbmanager, manager, table, optimize, backup, queries, query, drop, empty, tables, table, run, repair, cron, schedule, scheduling, automatic
5
  Requires at least: 4.0
6
- Tested up to: 5.4
7
- Stable tag: 2.80.3
8
 
9
  Manages your WordPress database.
10
 
@@ -42,6 +42,11 @@ Allows you to optimize database, repair database, backup database, restore datab
42
  * To know about the difference between WP-DBManager and WP-DB-backup, checkout __What is the difference between WP-DBManager and WP-DB-Backup?__ in the [FAQ section](https://wordpress.org/plugins/wp-dbmanager/faq/).
43
 
44
  ## Changelog
 
 
 
 
 
45
 
46
  ### Version 2.80.3
47
  * FIXED: Poly fill array_key_first() for PHP < 7.3
3
  Donate link: http://lesterchan.net/site/donation/
4
  Tags: database, manage, wp-dbmanager, manager, table, optimize, backup, queries, query, drop, empty, tables, table, run, repair, cron, schedule, scheduling, automatic
5
  Requires at least: 4.0
6
+ Tested up to: 5.9
7
+ Stable tag: 2.80.5
8
 
9
  Manages your WordPress database.
10
 
42
  * To know about the difference between WP-DBManager and WP-DB-backup, checkout __What is the difference between WP-DBManager and WP-DB-Backup?__ in the [FAQ section](https://wordpress.org/plugins/wp-dbmanager/faq/).
43
 
44
  ## Changelog
45
+ ### Version 2.80.5
46
+ * FIXED: Changed utf8 to utf8mb4 for backing up
47
+
48
+ ### Version 2.80.4
49
+ * FIXED: Clear WP-DBManager cron jobs on uninstall
50
 
51
  ### Version 2.80.3
52
  * FIXED: Poly fill array_key_first() for PHP < 7.3
uninstall.php CHANGED
@@ -33,4 +33,8 @@ function plugin_uninstalled() {
33
  $option_name = 'dbmanager_options';
34
 
35
  delete_option( $option_name );
 
 
 
 
36
  }
33
  $option_name = 'dbmanager_options';
34
 
35
  delete_option( $option_name );
36
+
37
+ wp_clear_scheduled_hook( 'dbmanager_cron_backup' );
38
+ wp_clear_scheduled_hook( 'dbmanager_cron_optimize' );
39
+ wp_clear_scheduled_hook( 'dbmanager_cron_repair' );
40
  }
wp-dbmanager.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP-DBManager
4
  Plugin URI: https://lesterchan.net/portfolio/programming/php/
5
  Description: Manages your WordPress database. Allows you to optimize database, repair database, backup database, restore database, delete backup database , drop/empty tables and run selected queries. Supports automatic scheduling of backing up, optimizing and repairing of database.
6
- Version: 2.80.3
7
  Author: Lester 'GaMerZ' Chan
8
  Author URI: https://lesterchan.net
9
  Text Domain: wp-dbmanager
@@ -11,7 +11,7 @@ Text Domain: wp-dbmanager
11
 
12
 
13
  /*
14
- Copyright 2020 Lester Chan (email : lesterchan@gmail.com)
15
 
16
  This program is free software; you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License as published by
@@ -75,7 +75,7 @@ function cron_dbmanager_backup() {
75
  $backup['mysqldumppath'] = $backup_options['mysqldumppath'];
76
  $backup['mysqlpath'] = $backup_options['mysqlpath'];
77
  $backup['path'] = $backup_options['path'];
78
- $backup['charset'] = ' --default-character-set="utf8"';
79
  $backup['host'] = DB_HOST;
80
  $backup['port'] = '';
81
  $backup['sock'] = '';
3
  Plugin Name: WP-DBManager
4
  Plugin URI: https://lesterchan.net/portfolio/programming/php/
5
  Description: Manages your WordPress database. Allows you to optimize database, repair database, backup database, restore database, delete backup database , drop/empty tables and run selected queries. Supports automatic scheduling of backing up, optimizing and repairing of database.
6
+ Version: 2.80.5
7
  Author: Lester 'GaMerZ' Chan
8
  Author URI: https://lesterchan.net
9
  Text Domain: wp-dbmanager
11
 
12
 
13
  /*
14
+ Copyright 2021 Lester Chan (email : lesterchan@gmail.com)
15
 
16
  This program is free software; you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License as published by
75
  $backup['mysqldumppath'] = $backup_options['mysqldumppath'];
76
  $backup['mysqlpath'] = $backup_options['mysqlpath'];
77
  $backup['path'] = $backup_options['path'];
78
+ $backup['charset'] = ' --default-character-set="utf8mb4"';
79
  $backup['host'] = DB_HOST;
80
  $backup['port'] = '';
81
  $backup['sock'] = '';