Version Description
- Fixed: Data save way.
Download this release
Release Info
Developer | gqevu6bsiz |
Plugin | WP Admin UI Customize |
Version | 1.4.3.3 |
Comparing to | |
See all releases |
Code changes from version 1.4.3.2 to 1.4.3.3
- readme.txt +5 -2
- wp-admin-ui-customize.php +47 -44
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, multisite, network, metabox
|
5 |
Requires at least: 3.6.1
|
6 |
Tested up to: 3.8
|
7 |
-
Stable tag: 1.4.3.
|
8 |
License: GPL2
|
9 |
|
10 |
Customize the management screen UI.
|
@@ -50,6 +50,9 @@ These to Customization is possible.
|
|
50 |
|
51 |
== Changelog ==
|
52 |
|
|
|
|
|
|
|
53 |
= 1.4.3.2 =
|
54 |
* Fixed: Post edit ID is change on Admin Bar.
|
55 |
|
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_4_3_3
|
4 |
Tags: admin, post, posts, page, option, sitemenu, menu, custom, customize, dashboard, admin_bar, multisite, network, metabox
|
5 |
Requires at least: 3.6.1
|
6 |
Tested up to: 3.8
|
7 |
+
Stable tag: 1.4.3.3
|
8 |
License: GPL2
|
9 |
|
10 |
Customize the management screen UI.
|
50 |
|
51 |
== Changelog ==
|
52 |
|
53 |
+
= 1.4.3.3 =
|
54 |
+
* Fixed: Data save way.
|
55 |
+
|
56 |
= 1.4.3.2 =
|
57 |
* Fixed: Post edit ID is change on Admin Bar.
|
58 |
|
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.4.3.
|
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 |
*/
|
@@ -55,7 +55,7 @@ class WP_Admin_UI_Customize
|
|
55 |
|
56 |
|
57 |
function __construct() {
|
58 |
-
$this->Ver = '1.4.3.
|
59 |
$this->Name = 'WP Admin UI Customize';
|
60 |
$this->Dir = plugin_dir_path( __FILE__ );
|
61 |
$this->Url = plugin_dir_url( __FILE__ );
|
@@ -1111,48 +1111,51 @@ class WP_Admin_UI_Customize
|
|
1111 |
|
1112 |
$RecordField = false;
|
1113 |
|
1114 |
-
if( !empty( $_POST["
|
1115 |
-
$RecordField = strip_tags( $_POST["record_field"] );
|
1116 |
-
}
|
1117 |
-
|
1118 |
-
if( !empty( $RecordField ) && !empty( $_POST["update"] ) ) {
|
1119 |
-
if( $RecordField == 'user_role' ) {
|
1120 |
-
$this->update_userrole();
|
1121 |
-
} elseif( $RecordField == 'site' ) {
|
1122 |
-
$this->update_site();
|
1123 |
-
} elseif( $RecordField == 'admin_general' ) {
|
1124 |
-
$this->update_admin_general();
|
1125 |
-
} elseif( $RecordField == 'dashboard' ) {
|
1126 |
-
$this->update_dashboard();
|
1127 |
-
} elseif( $RecordField == 'admin_bar_menu' ) {
|
1128 |
-
$this->update_admin_bar_menu();
|
1129 |
-
} elseif( $RecordField == 'sidemenu' ) {
|
1130 |
-
$this->update_sidemenu();
|
1131 |
-
} elseif( $RecordField == 'manage_metabox' ) {
|
1132 |
-
$this->update_manage_metabox();
|
1133 |
-
} elseif( $RecordField == 'post_add_edit' ) {
|
1134 |
-
$this->update_post_add_edit();
|
1135 |
-
} elseif( $RecordField == 'appearance_menus' ) {
|
1136 |
-
$this->update_appearance_menus();
|
1137 |
-
} elseif( $RecordField == 'loginscreen' ) {
|
1138 |
-
$this->update_loginscreen();
|
1139 |
-
} elseif( $RecordField == 'plugin_cap' ) {
|
1140 |
-
$this->update_plugincap();
|
1141 |
-
}
|
1142 |
-
|
1143 |
-
}
|
1144 |
|
1145 |
-
|
1146 |
-
|
1147 |
-
|
1148 |
-
|
1149 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1150 |
}
|
1151 |
-
$this->update_reset( $RecordField );
|
1152 |
-
}
|
1153 |
-
|
1154 |
-
if( !empty( $_POST["donate_key"] ) && !empty( $_POST["update"] ) ) {
|
1155 |
-
$this->DonatingCheck();
|
1156 |
}
|
1157 |
|
1158 |
}
|
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_4_3_3
|
6 |
+
Version: 1.4.3.3
|
7 |
Author: gqevu6bsiz
|
8 |
+
Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_4_3_3
|
9 |
Text Domain: wauc
|
10 |
Domain Path: /languages
|
11 |
*/
|
55 |
|
56 |
|
57 |
function __construct() {
|
58 |
+
$this->Ver = '1.4.3.3';
|
59 |
$this->Name = 'WP Admin UI Customize';
|
60 |
$this->Dir = plugin_dir_path( __FILE__ );
|
61 |
$this->Url = plugin_dir_url( __FILE__ );
|
1111 |
|
1112 |
$RecordField = false;
|
1113 |
|
1114 |
+
if( !empty( $_POST[$this->Nonces["field"]] ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1115 |
|
1116 |
+
if( !empty( $_POST["record_field"] ) ) {
|
1117 |
+
$RecordField = strip_tags( $_POST["record_field"] );
|
1118 |
+
}
|
1119 |
+
|
1120 |
+
if( !empty( $RecordField ) && !empty( $_POST["update"] ) ) {
|
1121 |
+
if( $RecordField == 'user_role' ) {
|
1122 |
+
$this->update_userrole();
|
1123 |
+
} elseif( $RecordField == 'site' ) {
|
1124 |
+
$this->update_site();
|
1125 |
+
} elseif( $RecordField == 'admin_general' ) {
|
1126 |
+
$this->update_admin_general();
|
1127 |
+
} elseif( $RecordField == 'dashboard' ) {
|
1128 |
+
$this->update_dashboard();
|
1129 |
+
} elseif( $RecordField == 'admin_bar_menu' ) {
|
1130 |
+
$this->update_admin_bar_menu();
|
1131 |
+
} elseif( $RecordField == 'sidemenu' ) {
|
1132 |
+
$this->update_sidemenu();
|
1133 |
+
} elseif( $RecordField == 'manage_metabox' ) {
|
1134 |
+
$this->update_manage_metabox();
|
1135 |
+
} elseif( $RecordField == 'post_add_edit' ) {
|
1136 |
+
$this->update_post_add_edit();
|
1137 |
+
} elseif( $RecordField == 'appearance_menus' ) {
|
1138 |
+
$this->update_appearance_menus();
|
1139 |
+
} elseif( $RecordField == 'loginscreen' ) {
|
1140 |
+
$this->update_loginscreen();
|
1141 |
+
} elseif( $RecordField == 'plugin_cap' ) {
|
1142 |
+
$this->update_plugincap();
|
1143 |
+
}
|
1144 |
+
|
1145 |
+
}
|
1146 |
+
|
1147 |
+
if( !empty( $RecordField ) && !empty( $_POST["reset"] ) ) {
|
1148 |
+
if( $RecordField == 'manage_metabox' ) {
|
1149 |
+
delete_option( $this->Record["regist_metabox"] );
|
1150 |
+
} elseif( $RecordField == 'dashboard' ) {
|
1151 |
+
delete_option( $this->Record["regist_dashboard_metabox"] );
|
1152 |
+
}
|
1153 |
+
$this->update_reset( $RecordField );
|
1154 |
+
}
|
1155 |
+
|
1156 |
+
if( !empty( $_POST["donate_key"] ) && !empty( $_POST["update"] ) ) {
|
1157 |
+
$this->DonatingCheck();
|
1158 |
}
|
|
|
|
|
|
|
|
|
|
|
1159 |
}
|
1160 |
|
1161 |
}
|