Version Description
- Updated: Remove the specific slug of child menu of Side menus.
Download this release
Release Info
Developer | gqevu6bsiz |
Plugin | WP Admin UI Customize |
Version | 1.5.2.2 |
Comparing to | |
See all releases |
Code changes from version 1.5.2.1 to 1.5.2.2
- inc/setting_default.php +1 -1
- readme.txt +6 -3
- wp-admin-ui-customize.php +16 -4
inc/setting_default.php
CHANGED
@@ -62,7 +62,7 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
|
|
62 |
<div class="stuffbox" id="aboutbox">
|
63 |
<h3><span class="hndle"><?php _e( 'About plugin' , $this->ltd ); ?></span></h3>
|
64 |
<div class="inside">
|
65 |
-
<p><?php _e( 'Version checked' , $this->ltd ); ?> : 3.6.1 -
|
66 |
<ul>
|
67 |
<li><a href="<?php echo $this->Site; ?>?utm_source=use_plugin&utm_medium=side&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank"><?php _e( 'Plugin\'s site' , $this->ltd ); ?></a></li>
|
68 |
<li><a href="<?php echo $this->AuthorUrl; ?>?utm_source=use_plugin&utm_medium=side&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank"><?php _e( 'Developer\'s site' , $this->ltd ); ?></a></li>
|
62 |
<div class="stuffbox" id="aboutbox">
|
63 |
<h3><span class="hndle"><?php _e( 'About plugin' , $this->ltd ); ?></span></h3>
|
64 |
<div class="inside">
|
65 |
+
<p><?php _e( 'Version checked' , $this->ltd ); ?> : 3.6.1 - 4.0</p>
|
66 |
<ul>
|
67 |
<li><a href="<?php echo $this->Site; ?>?utm_source=use_plugin&utm_medium=side&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank"><?php _e( 'Plugin\'s site' , $this->ltd ); ?></a></li>
|
68 |
<li><a href="<?php echo $this->AuthorUrl; ?>?utm_source=use_plugin&utm_medium=side&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank"><?php _e( 'Developer\'s site' , $this->ltd ); ?></a></li>
|
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:
|
7 |
-
Stable tag: 1.5.2.
|
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.5.2.1 =
|
54 |
* Updated: Metaboxes on Dashboard is latest.
|
55 |
* Updated: Translation for zh_TW.
|
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_5_2_2
|
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: 4.0
|
7 |
+
Stable tag: 1.5.2.2
|
8 |
License: GPL2
|
9 |
|
10 |
Customize the management screen UI.
|
50 |
|
51 |
== Changelog ==
|
52 |
|
53 |
+
= 1.5.2.2 =
|
54 |
+
* Updated: Remove the specific slug of child menu of Side menus.
|
55 |
+
|
56 |
= 1.5.2.1 =
|
57 |
* Updated: Metaboxes on Dashboard is latest.
|
58 |
* Updated: Translation for zh_TW.
|
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.5.2.
|
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 |
*/
|
@@ -56,7 +56,7 @@ class WP_Admin_UI_Customize
|
|
56 |
|
57 |
|
58 |
function __construct() {
|
59 |
-
$this->Ver = '1.5.2.
|
60 |
$this->Name = 'WP Admin UI Customize';
|
61 |
$this->Dir = plugin_dir_path( __FILE__ );
|
62 |
$this->Url = plugin_dir_url( __FILE__ );
|
@@ -2164,6 +2164,18 @@ class WP_Admin_UI_Customize
|
|
2164 |
}
|
2165 |
|
2166 |
$menu = $SetMain_menu;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2167 |
$submenu = $SetMain_submenu;
|
2168 |
|
2169 |
} else {
|
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_5_2_2
|
6 |
+
Version: 1.5.2.2
|
7 |
Author: gqevu6bsiz
|
8 |
+
Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_5_2_2
|
9 |
Text Domain: wauc
|
10 |
Domain Path: /languages
|
11 |
*/
|
56 |
|
57 |
|
58 |
function __construct() {
|
59 |
+
$this->Ver = '1.5.2.2';
|
60 |
$this->Name = 'WP Admin UI Customize';
|
61 |
$this->Dir = plugin_dir_path( __FILE__ );
|
62 |
$this->Url = plugin_dir_url( __FILE__ );
|
2164 |
}
|
2165 |
|
2166 |
$menu = $SetMain_menu;
|
2167 |
+
|
2168 |
+
foreach( $SetMain_submenu as $slug => $menu_set ) {
|
2169 |
+
|
2170 |
+
foreach( $menu_set as $key => $sm ) {
|
2171 |
+
|
2172 |
+
if( !empty( $SetMain_submenu[$slug][$key][4] ) && strstr( $SetMain_submenu[$slug][$key][4] , 'menu-top' ) ) {
|
2173 |
+
$SetMain_submenu[$slug][$key][4] = str_replace( 'menu-top' , '' , $SetMain_submenu[$slug][$key][4] );
|
2174 |
+
}
|
2175 |
+
|
2176 |
+
}
|
2177 |
+
|
2178 |
+
}
|
2179 |
$submenu = $SetMain_submenu;
|
2180 |
|
2181 |
} else {
|