WP-DBManager - Version 2.80.3

Version Description

Download this release

Release Info

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

Code changes from version 2.80.2 to 2.80.3

Files changed (2) hide show
  1. readme.txt +5 -2
  2. wp-dbmanager.php +11 -1
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.3
7
- Stable tag: 2.80.2
8
 
9
  Manages your WordPress database.
10
 
@@ -43,6 +43,9 @@ Allows you to optimize database, repair database, backup database, restore datab
43
 
44
  ## Changelog
45
 
 
 
 
46
  ### Version 2.80.2
47
  * FIXED: Newer backup is being replaced instead of older backup
48
 
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
 
43
 
44
  ## Changelog
45
 
46
+ ### Version 2.80.3
47
+ * FIXED: Poly fill array_key_first() for PHP < 7.3
48
+
49
  ### Version 2.80.2
50
  * FIXED: Newer backup is being replaced instead of older backup
51
 
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.2
7
  Author: Lester 'GaMerZ' Chan
8
  Author URI: https://lesterchan.net
9
  Text Domain: wp-dbmanager
@@ -572,6 +572,16 @@ function dbmanager_is_function_disabled( $function_name ) {
572
  return in_array( $function_name, array_map( 'trim', explode( ',', ini_get( 'disable_functions' ) ) ), true );
573
  }
574
 
 
 
 
 
 
 
 
 
 
 
575
  ### Function: Database Options
576
  function dbmanager_options() {
577
  $text = '';
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
572
  return in_array( $function_name, array_map( 'trim', explode( ',', ini_get( 'disable_functions' ) ) ), true );
573
  }
574
 
575
+ ### Function: Polyfill array_key_first() for PHP < 7.3
576
+ if ( ! function_exists( 'array_key_first' ) ) {
577
+ function array_key_first( $arr ) {
578
+ foreach( $arr as $key => $unused ) {
579
+ return $key;
580
+ }
581
+ return null;
582
+ }
583
+ }
584
+
585
  ### Function: Database Options
586
  function dbmanager_options() {
587
  $text = '';