Version Description
- Fixed bug : Get user role group.
Download this release
Release Info
Developer | gqevu6bsiz |
Plugin | WP Admin UI Customize |
Version | 1.3.5.1 |
Comparing to | |
See all releases |
Code changes from version 1.3.5 to 1.3.5.1
- readme.txt +5 -2
- wp-admin-ui-customize.php +8 -5
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== WP Admin UI Customize ===
|
2 |
Contributors: gqevu6bsiz
|
3 |
-
Donate link: http://gqevu6bsiz.chicappa.jp/please-donation/?utm_source=wporg&utm_medium=donate&utm_content=wauc&utm_campaign=
|
4 |
Tags: admin, post, posts, page, option, sitemenu, menu, custom, customize, dashboard, admin_bar
|
5 |
Requires at least: 3.4.2
|
6 |
Tested up to: 3.6-beta3
|
7 |
-
Stable tag: 1.3.5
|
8 |
License: GPL2
|
9 |
|
10 |
Customize the management screen UI.
|
@@ -49,6 +49,9 @@ These to Customization is possible.
|
|
49 |
|
50 |
== Changelog ==
|
51 |
|
|
|
|
|
|
|
52 |
= 1.3.5 =
|
53 |
* Changed the action timing of the side menu apply.
|
54 |
* Fixed bug : Can not be acquired rights group.
|
1 |
=== WP Admin UI Customize ===
|
2 |
Contributors: gqevu6bsiz
|
3 |
+
Donate link: http://gqevu6bsiz.chicappa.jp/please-donation/?utm_source=wporg&utm_medium=donate&utm_content=wauc&utm_campaign=1_3_5_1
|
4 |
Tags: admin, post, posts, page, option, sitemenu, menu, custom, customize, dashboard, admin_bar
|
5 |
Requires at least: 3.4.2
|
6 |
Tested up to: 3.6-beta3
|
7 |
+
Stable tag: 1.3.5.1
|
8 |
License: GPL2
|
9 |
|
10 |
Customize the management screen UI.
|
49 |
|
50 |
== Changelog ==
|
51 |
|
52 |
+
= 1.3.5.1 =
|
53 |
+
* Fixed bug : Get user role group.
|
54 |
+
|
55 |
= 1.3.5 =
|
56 |
* Changed the action timing of the side menu apply.
|
57 |
* Fixed bug : Can not be acquired rights group.
|
wp-admin-ui-customize.php
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
/*
|
3 |
Plugin Name: WP Admin UI Customize
|
4 |
Description: An excellent plugin to customize the management screens.
|
5 |
-
Plugin URI: http://wpadminuicustomize.com/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=
|
6 |
-
Version: 1.3.5
|
7 |
Author: gqevu6bsiz
|
8 |
-
Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=
|
9 |
Text Domain: wauc
|
10 |
Domain Path: /languages
|
11 |
*/
|
@@ -48,7 +48,7 @@ class WP_Admin_UI_Customize
|
|
48 |
|
49 |
|
50 |
function __construct() {
|
51 |
-
$this->Ver = '1.3.5';
|
52 |
$this->Name = 'WP Admin UI Customize';
|
53 |
$this->Dir = WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) . '/';
|
54 |
$this->Site = 'http://wpadminuicustomize.com/';
|
@@ -678,7 +678,10 @@ class WP_Admin_UI_Customize
|
|
678 |
$UserRole = '';
|
679 |
$User = wp_get_current_user();
|
680 |
if( !empty( $User->roles ) ) {
|
681 |
-
|
|
|
|
|
|
|
682 |
}
|
683 |
return $UserRole;
|
684 |
}
|
2 |
/*
|
3 |
Plugin Name: WP Admin UI Customize
|
4 |
Description: An excellent plugin to customize the management screens.
|
5 |
+
Plugin URI: http://wpadminuicustomize.com/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_3_5_1
|
6 |
+
Version: 1.3.5.1
|
7 |
Author: gqevu6bsiz
|
8 |
+
Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_3_5_1
|
9 |
Text Domain: wauc
|
10 |
Domain Path: /languages
|
11 |
*/
|
48 |
|
49 |
|
50 |
function __construct() {
|
51 |
+
$this->Ver = '1.3.5.1';
|
52 |
$this->Name = 'WP Admin UI Customize';
|
53 |
$this->Dir = WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) . '/';
|
54 |
$this->Site = 'http://wpadminuicustomize.com/';
|
678 |
$UserRole = '';
|
679 |
$User = wp_get_current_user();
|
680 |
if( !empty( $User->roles ) ) {
|
681 |
+
foreach( $User->roles as $role ) {
|
682 |
+
$UserRole = $role;
|
683 |
+
break;
|
684 |
+
}
|
685 |
}
|
686 |
return $UserRole;
|
687 |
}
|