Version Description
- Installer improved: if utf8mb4 charset is not supported by database, use utf8
Download this release
Release Info
Developer | arisoft |
Plugin | ARI Adminer – WordPress Database Manager |
Version | 1.1.8 |
Comparing to | |
See all releases |
Code changes from version 1.1.7 to 1.1.8
- ari-adminer.php +1 -1
- includes/class-installer.php +6 -0
- includes/defines.php +1 -1
- readme.txt +8 -2
ari-adminer.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: ARI Adminer
|
4 |
Plugin URI: http://wp-quiz.ari-soft.com/plugins/wordpress-adminer.html
|
5 |
Description: Powerful, compact and easy to use database manager plugin for WordPress.
|
6 |
-
Version: 1.1.
|
7 |
Author: ARI Soft
|
8 |
Author URI: http://www.ari-soft.com
|
9 |
Text Domain: ari-adminer
|
3 |
Plugin Name: ARI Adminer
|
4 |
Plugin URI: http://wp-quiz.ari-soft.com/plugins/wordpress-adminer.html
|
5 |
Description: Powerful, compact and easy to use database manager plugin for WordPress.
|
6 |
+
Version: 1.1.8
|
7 |
Author: ARI Soft
|
8 |
Author URI: http://www.ari-soft.com
|
9 |
Text Domain: ari-adminer
|
includes/class-installer.php
CHANGED
@@ -27,6 +27,12 @@ class Installer extends Ari_Installer {
|
|
27 |
$this->add_cap();
|
28 |
|
29 |
$sql = file_get_contents( ARIADMINER_INSTALL_PATH . 'install.sql' );
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
$queries = DB::split_sql( $sql );
|
32 |
|
27 |
$this->add_cap();
|
28 |
|
29 |
$sql = file_get_contents( ARIADMINER_INSTALL_PATH . 'install.sql' );
|
30 |
+
$utf8mb4_supported = DB::is_utf8mb4_supported();
|
31 |
+
|
32 |
+
if ( ! $utf8mb4_supported ) {
|
33 |
+
$sql = str_replace( 'utf8mb4_unicode_ci', 'utf8_general_ci', $sql );
|
34 |
+
$sql = str_replace( 'utf8mb4', 'utf8', $sql );
|
35 |
+
}
|
36 |
|
37 |
$queries = DB::split_sql( $sql );
|
38 |
|
includes/defines.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
define( 'ARIADMINER_VERSION', '1.1.
|
3 |
define( 'ARIADMINER_SLUG', 'ari-adminer' );
|
4 |
define( 'ARIADMINER_ASSETS_URL', ARIADMINER_URL . 'assets/' );
|
5 |
define( 'ARIADMINER_VERSION_OPTION', 'ari_adminer' );
|
1 |
<?php
|
2 |
+
define( 'ARIADMINER_VERSION', '1.1.8' );
|
3 |
define( 'ARIADMINER_SLUG', 'ari-adminer' );
|
4 |
define( 'ARIADMINER_ASSETS_URL', ARIADMINER_URL . 'assets/' );
|
5 |
define( 'ARIADMINER_VERSION_OPTION', 'ari_adminer' );
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: arisoft
|
|
3 |
Donate link: http://wp-quiz.ari-soft.com/plugins/wordpress-adminer.html
|
4 |
Tags: adminer, sql, database, mysql, report, sqlite, table, postgresql, dump, backup, import, export, phpmyadmin
|
5 |
Requires at least: 3.4
|
6 |
-
Tested up to: 4.9.
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -74,6 +74,9 @@ Sure, it is available [here](http://www.ari-soft.com/docs/wordpress/ari-adminer/
|
|
74 |
|
75 |
== Changelog ==
|
76 |
|
|
|
|
|
|
|
77 |
= 1.1.7 =
|
78 |
* Show quick icon on frontend part and take into account role of current user
|
79 |
|
@@ -129,6 +132,9 @@ Sure, it is available [here](http://www.ari-soft.com/docs/wordpress/ari-adminer/
|
|
129 |
|
130 |
== Upgrade Notice ==
|
131 |
|
|
|
|
|
|
|
132 |
= 1.1.7 =
|
133 |
* Show quick icon on frontend part and take into account role of current user
|
134 |
|
3 |
Donate link: http://wp-quiz.ari-soft.com/plugins/wordpress-adminer.html
|
4 |
Tags: adminer, sql, database, mysql, report, sqlite, table, postgresql, dump, backup, import, export, phpmyadmin
|
5 |
Requires at least: 3.4
|
6 |
+
Tested up to: 4.9.2
|
7 |
+
Stable tag: 1.1.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
74 |
|
75 |
== Changelog ==
|
76 |
|
77 |
+
= 1.1.8 =
|
78 |
+
* Installer improved: if utf8mb4 charset is not supported by database, use utf8
|
79 |
+
|
80 |
= 1.1.7 =
|
81 |
* Show quick icon on frontend part and take into account role of current user
|
82 |
|
132 |
|
133 |
== Upgrade Notice ==
|
134 |
|
135 |
+
= 1.1.8 =
|
136 |
+
* Installer improved: if utf8mb4 charset is not supported by database, use utf8
|
137 |
+
|
138 |
= 1.1.7 =
|
139 |
* Show quick icon on frontend part and take into account role of current user
|
140 |
|