WP Admin UI Customize - Version 1.1.2

Version Description

I fixed bug the admin bar update.

Download this release

Release Info

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

Code changes from version 1.1.1 to 1.1.2

Files changed (2) hide show
  1. readme.txt +5 -1
  2. wp-admin-ui-customize.php +24 -22
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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.1
7
- Stable tag: 1.1.1
8
  License: GPL2
9
 
10
  Customize the management screen UI.
@@ -49,6 +49,10 @@ These to Customization is possible.
49
 
50
  == Changelog ==
51
 
 
 
 
 
52
  = 1.1.1 =
53
  I fixed bug the core update.
54
 
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.1
7
+ Stable tag: 1.1.2
8
  License: GPL2
9
 
10
  Customize the management screen UI.
49
 
50
  == Changelog ==
51
 
52
+
53
+ = 1.1.2 =
54
+ I fixed bug the admin bar update.
55
+
56
  = 1.1.1 =
57
  I fixed bug the core update.
58
 
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.1.1
7
  Author: gqevu6bsiz
8
  Author URI: http://gqevu6bsiz.chicappa.jp/author/admin/
9
  Text Domain: wauc
@@ -45,7 +45,7 @@ class WP_Admin_UI_Customize
45
 
46
 
47
  function __construct() {
48
- $this->Ver = '1.1.1';
49
  $this->Name = 'WP Admin UI Customize';
50
  $this->Dir = WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) . '/';
51
  $this->ltd = 'wauc';
@@ -505,27 +505,29 @@ class WP_Admin_UI_Customize
505
 
506
  if( !empty( $_POST["data"] ) ) {
507
  foreach($_POST["data"] as $boxtype => $nodes) {
508
- foreach($nodes as $key => $node) {
509
- $id = "";
510
- if( !empty( $node["id"] ) ) {
511
- $id = strip_tags( $node["id"] );
512
- }
513
- $title = "";
514
- if( !empty( $node["title"] ) ) {
515
- $title = $node["title"];
516
- }
517
- $href = "";
518
- if( !empty( $node["href"] ) ) {
519
- $href = strip_tags( $node["href"] );
520
- }
521
- $parent = "";
522
- $depth = "main";
523
- if( !empty( $node["parent"] ) ) {
524
- $parent = strip_tags( $node["parent"] );
525
- $depth = 'sub';
 
 
 
 
526
  }
527
-
528
- $Update[$boxtype][$depth][] = array( "id" => $id , "title" => $title , "href" => $href , "parent" => $parent );
529
  }
530
  }
531
  }
3
  Plugin Name: WP Admin UI Customize
4
  Description: Customize the management screen UI.
5
  Plugin URI: http://gqevu6bsiz.chicappa.jp
6
+ Version: 1.1.2
7
  Author: gqevu6bsiz
8
  Author URI: http://gqevu6bsiz.chicappa.jp/author/admin/
9
  Text Domain: wauc
45
 
46
 
47
  function __construct() {
48
+ $this->Ver = '1.1.2';
49
  $this->Name = 'WP Admin UI Customize';
50
  $this->Dir = WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) . '/';
51
  $this->ltd = 'wauc';
505
 
506
  if( !empty( $_POST["data"] ) ) {
507
  foreach($_POST["data"] as $boxtype => $nodes) {
508
+ if( $boxtype === 'left' or $boxtype === 'right' ) {
509
+ foreach($nodes as $key => $node) {
510
+ $id = "";
511
+ if( !empty( $node["id"] ) ) {
512
+ $id = strip_tags( $node["id"] );
513
+ }
514
+ $title = "";
515
+ if( !empty( $node["title"] ) ) {
516
+ $title = $node["title"];
517
+ }
518
+ $href = "";
519
+ if( !empty( $node["href"] ) ) {
520
+ $href = strip_tags( $node["href"] );
521
+ }
522
+ $parent = "";
523
+ $depth = "main";
524
+ if( !empty( $node["parent"] ) ) {
525
+ $parent = strip_tags( $node["parent"] );
526
+ $depth = 'sub';
527
+ }
528
+
529
+ $Update[$boxtype][$depth][] = array( "id" => $id , "title" => $title , "href" => $href , "parent" => $parent );
530
  }
 
 
531
  }
532
  }
533
  }