Version Description
- Fix access via quick icon
Download this release
Release Info
Developer | arisoft |
Plugin | ARI Adminer – WordPress Database Manager |
Version | 1.2.3 |
Comparing to | |
See all releases |
Code changes from version 1.2.1 to 1.2.3
- adminer/wrapper.php +3 -1
- ari-adminer.php +1 -1
- includes/class-plugin.php +3 -3
- includes/defines.php +1 -1
- readme.txt +14 -2
adminer/wrapper.php
CHANGED
@@ -30,7 +30,9 @@ if ( ! $adminer_config->load( $session_key ) ) {
|
|
30 |
|
31 |
$nonce = Request::get_var( '__wp_nonce' );
|
32 |
if ( 0 === strlen( $nonce ) || 0 === strlen( $adminer_config->nonce ) || $nonce !== $adminer_config->nonce ) {
|
33 |
-
|
|
|
|
|
34 |
}
|
35 |
|
36 |
if ( ! function_exists( 'adminer_object' ) ) {
|
30 |
|
31 |
$nonce = Request::get_var( '__wp_nonce' );
|
32 |
if ( 0 === strlen( $nonce ) || 0 === strlen( $adminer_config->nonce ) || $nonce !== $adminer_config->nonce ) {
|
33 |
+
if ( $_SERVER['REQUEST_METHOD'] !== 'GET' && !WP_Adminer_Bridge::is_ajax_request() ) {
|
34 |
+
die( 'Access denied. Invalid token.' );
|
35 |
+
}
|
36 |
}
|
37 |
|
38 |
if ( ! function_exists( 'adminer_object' ) ) {
|
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.2.
|
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.2.3
|
7 |
Author: ARI Soft
|
8 |
Author URI: http://www.ari-soft.com
|
9 |
Text Domain: ari-adminer
|
includes/class-plugin.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
-
namespace Ari_Adminer;
|
3 |
-
|
4 |
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\App\Plugin as Ari_Plugin;
|
@@ -123,7 +123,7 @@ class Plugin extends Ari_Plugin {
|
|
123 |
array(
|
124 |
'id' => 'adminer-link',
|
125 |
'title' => __( 'Adminer', 'ari-adminer' ),
|
126 |
-
'href' => get_admin_url( null, '/admin.php?page=ari-adminer-run-adminer&action=run&noheader=1' ),
|
127 |
'meta' => array(
|
128 |
'target' => '_blank',
|
129 |
)
|
1 |
<?php
|
2 |
+
namespace Ari_Adminer;
|
3 |
+
|
4 |
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
5 |
|
6 |
use Ari\App\Plugin as Ari_Plugin;
|
123 |
array(
|
124 |
'id' => 'adminer-link',
|
125 |
'title' => __( 'Adminer', 'ari-adminer' ),
|
126 |
+
'href' => get_admin_url( null, '/admin.php?page=ari-adminer-run-adminer&action=run&noheader=1&_wpnonce=' . wp_create_nonce( ARIADMINER_NONCE ) ),
|
127 |
'meta' => array(
|
128 |
'target' => '_blank',
|
129 |
)
|
includes/defines.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
|
4 |
-
define( 'ARIADMINER_VERSION', '1.2.
|
5 |
define( 'ARIADMINER_SLUG', 'ari-adminer' );
|
6 |
define( 'ARIADMINER_ASSETS_URL', ARIADMINER_URL . 'assets/' );
|
7 |
define( 'ARIADMINER_VERSION_OPTION', 'ari_adminer' );
|
1 |
<?php
|
2 |
defined( 'ABSPATH' ) or die( 'Access forbidden!' );
|
3 |
|
4 |
+
define( 'ARIADMINER_VERSION', '1.2.3' );
|
5 |
define( 'ARIADMINER_SLUG', 'ari-adminer' );
|
6 |
define( 'ARIADMINER_ASSETS_URL', ARIADMINER_URL . 'assets/' );
|
7 |
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: 5.
|
7 |
-
Stable tag: 1.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -74,6 +74,12 @@ Sure, it is available [here](http://www.ari-soft.com/docs/wordpress/ari-adminer/
|
|
74 |
|
75 |
== Changelog ==
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
= 1.2.1 =
|
78 |
* Fix the broken functionality: search tables, search in records
|
79 |
|
@@ -160,6 +166,12 @@ Sure, it is available [here](http://www.ari-soft.com/docs/wordpress/ari-adminer/
|
|
160 |
|
161 |
== Upgrade Notice ==
|
162 |
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
= 1.2.1 =
|
164 |
* Fix the broken functionality: search tables, search in records
|
165 |
|
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: 5.2.0
|
7 |
+
Stable tag: 1.2.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
74 |
|
75 |
== Changelog ==
|
76 |
|
77 |
+
= 1.2.3 =
|
78 |
+
* Fix access via quick icon
|
79 |
+
|
80 |
+
= 1.2.2 =
|
81 |
+
* Fix bug: "Invalid token." message appears after adding a record
|
82 |
+
|
83 |
= 1.2.1 =
|
84 |
* Fix the broken functionality: search tables, search in records
|
85 |
|
166 |
|
167 |
== Upgrade Notice ==
|
168 |
|
169 |
+
= 1.2.3 =
|
170 |
+
* Fix access via quick icon
|
171 |
+
|
172 |
+
= 1.2.2 =
|
173 |
+
* Fix bug: "Invalid token." message appears after adding a record
|
174 |
+
|
175 |
= 1.2.1 =
|
176 |
* Fix the broken functionality: search tables, search in records
|
177 |
|