WP Admin UI Customize - Version 1.0.1

Version Description

bug that did not contain the separator line to the initial value of the side menu.

Download this release

Release Info

Developer gqevu6bsiz
Plugin Icon wp plugin WP Admin UI Customize
Version 1.0.1
Comparing to
See all releases

Code changes from version 1.0 to 1.0.1

inc/setting_sidemenu.php CHANGED
@@ -37,14 +37,22 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
37
  <?php if( empty( $Data ) ) : ?>
38
 
39
  <?php foreach($menu as $mm) : ?>
40
-
41
- <?php if( !empty( $mm[0] ) ) : ?>
 
 
 
 
 
 
42
 
43
  <?php $menu_title = $mm[0]; ?>
44
- <?php if( $mm[5] == 'menu-comments' ) : ?>
45
- <?php $menu_title = __( 'Comments' ); ?>
46
- <?php elseif( $mm[5] == 'menu-plugins' ) : ?>
47
- <?php $menu_title = __( 'Plugins' ); ?>
 
 
48
  <?php endif; ?>
49
 
50
  <?php $mwsm = array(); ?>
@@ -64,10 +72,10 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
64
  <?php endforeach; ?>
65
  <?php endforeach; ?>
66
 
67
- <?php $menu_widget = array( 'title' => $menu_title , 'slug' => $mm[2] , 'parent_slug' => '' , 'new' => false , 'submenu' => $mwsm ); ?>
68
- <?php $this->menu_widget( $menu_widget ); ?>
69
-
70
  <?php endif; ?>
 
 
 
71
 
72
  <?php endforeach; ?>
73
 
37
  <?php if( empty( $Data ) ) : ?>
38
 
39
  <?php foreach($menu as $mm) : ?>
40
+
41
+ <?php if( isset( $mm[2] ) && strstr( $mm[2] , 'separator' ) ) : ?>
42
+
43
+ <?php $menu_title = '-'; ?>
44
+ <?php $mm[2] = 'separator'; ?>
45
+ <?php $mwsm = array(); ?>
46
+
47
+ <?php elseif( !empty( $mm[0] ) ) : ?>
48
 
49
  <?php $menu_title = $mm[0]; ?>
50
+ <?php if( !empty( $mm[5] ) ) : ?>
51
+ <?php if( $mm[5] == 'menu-comments' ) : ?>
52
+ <?php $menu_title = __( 'Comments' ); ?>
53
+ <?php elseif( $mm[5] == 'menu-plugins' ) : ?>
54
+ <?php $menu_title = __( 'Plugins' ); ?>
55
+ <?php endif; ?>
56
  <?php endif; ?>
57
 
58
  <?php $mwsm = array(); ?>
72
  <?php endforeach; ?>
73
  <?php endforeach; ?>
74
 
 
 
 
75
  <?php endif; ?>
76
+
77
+ <?php $menu_widget = array( 'title' => $menu_title , 'slug' => $mm[2] , 'parent_slug' => '' , 'new' => false , 'submenu' => $mwsm ); ?>
78
+ <?php $this->menu_widget( $menu_widget ); ?>
79
 
80
  <?php endforeach; ?>
81
 
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: gqevu6bsiz
3
  Donate link:
4
  Tags: admin, post, posts, page, option, sitemenu, menu, custom, customize, dashboard, admin_bar
5
- Requires at least: 3.3.2
6
  Tested up to: 3.5
7
- Stable tag: 1.0
8
  License: GPL2
9
 
10
  Customize the management screen UI.
@@ -45,10 +45,13 @@ These to Customization is possible.
45
  8. Admin Menu Customized
46
  9. Metabox Settings
47
  10. Login Screen Settings
48
- 10. Login Screen Customized
49
 
50
  == Changelog ==
51
 
 
 
 
52
  = 1.0 =
53
  This is the initial release.
54
 
2
  Contributors: gqevu6bsiz
3
  Donate link:
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.5
7
+ Stable tag: 1.0.1
8
  License: GPL2
9
 
10
  Customize the management screen UI.
45
  8. Admin Menu Customized
46
  9. Metabox Settings
47
  10. Login Screen Settings
48
+ 11. Login Screen Customized
49
 
50
  == Changelog ==
51
 
52
+ = 1.0.1 =
53
+ bug that did not contain the separator line to the initial value of the side menu.
54
+
55
  = 1.0 =
56
  This is the initial release.
57
 
wp-admin-ui-customize.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Admin UI Customize
4
  Description: Customize the management screen UI.
5
  Plugin URI: http://gqevu6bsiz.chicappa.jp
6
- Version: 1.0
7
  Author: gqevu6bsiz
8
  Author URI: http://gqevu6bsiz.chicappa.jp/author/admin/
9
  Text Domain: wauc
@@ -44,7 +44,7 @@ class WP_Admin_UI_Customize
44
 
45
 
46
  function __construct() {
47
- $this->Ver = '1.0';
48
  $this->Name = 'WP Admin UI Customize';
49
  $this->Dir = WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) . '/';
50
  $this->ltd = 'wauc';
3
  Plugin Name: WP Admin UI Customize
4
  Description: Customize the management screen UI.
5
  Plugin URI: http://gqevu6bsiz.chicappa.jp
6
+ Version: 1.0.1
7
  Author: gqevu6bsiz
8
  Author URI: http://gqevu6bsiz.chicappa.jp/author/admin/
9
  Text Domain: wauc
44
 
45
 
46
  function __construct() {
47
+ $this->Ver = '1.0.1';
48
  $this->Name = 'WP Admin UI Customize';
49
  $this->Dir = WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) . '/';
50
  $this->ltd = 'wauc';