WP Admin UI Customize - Version 1.5.1

Version Description

  • Added: Search box settings on the Admin Bar Settings.
Download this release

Release Info

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

Code changes from version 1.5 to 1.5.1

inc/setting_default.php CHANGED
@@ -60,7 +60,7 @@ if ( version_compare( $wp_version , '3.8' , '<' ) ) {
60
  <div class="stuffbox" id="aboutbox">
61
  <h3><span class="hndle"><?php _e( 'About plugin' , $this->ltd ); ?></span></h3>
62
  <div class="inside">
63
- <p><?php _e( 'Version checked' , $this->ltd ); ?> : 3.6.1 - 3.8.1</p>
64
  <ul>
65
  <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>
66
  <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>
60
  <div class="stuffbox" id="aboutbox">
61
  <h3><span class="hndle"><?php _e( 'About plugin' , $this->ltd ); ?></span></h3>
62
  <div class="inside">
63
+ <p><?php _e( 'Version checked' , $this->ltd ); ?> : 3.6.1 - 3.9.1</p>
64
  <ul>
65
  <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>
66
  <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=1_5
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.9
7
- Stable tag: 1.5
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 =
54
  * Fixed: Strip html tag from the title of Side menu settings.
55
  * Fixed: Update notification on the Front-end.
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_1
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.9.1
7
+ Stable tag: 1.5.1
8
  License: GPL2
9
 
10
  Customize the management screen UI.
50
 
51
  == Changelog ==
52
 
53
+ = 1.5.1 =
54
+ * Added: Search box settings on the Admin Bar Settings.
55
+
56
  = 1.5 =
57
  * Fixed: Strip html tag from the title of Side menu settings.
58
  * Fixed: Update notification on the Front-end.
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=1_5
6
- Version: 1.5
7
  Author: gqevu6bsiz
8
- Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_5
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';
60
  $this->Name = 'WP Admin UI Customize';
61
  $this->Dir = plugin_dir_path( __FILE__ );
62
  $this->Url = plugin_dir_url( __FILE__ );
@@ -536,7 +536,12 @@ class WP_Admin_UI_Customize
536
  $Filter_bar["front"]["main"]["edit-post_type"] = new stdClass;
537
  $Filter_bar["front"]["main"]["edit-post_type"] = (object) array( 'id' => 'edit-post_type' , 'title' => '' , 'href' => '' , 'group' => '' , 'meta' => array() );
538
  $Filter_bar["front"]["main"]["edit-post_type"]->title = sprintf( '%1$s (%2$s/%3$s/%4$s/%5$s/%6$s)' , __( 'Edit' ) , __( 'Posts' ) , __( 'Pages' ) , __( 'Categories' ) , __( 'Tags' ) , __( 'Custom' ) );
539
-
 
 
 
 
 
540
  return $Filter_bar;
541
  }
542
 
@@ -1688,6 +1693,16 @@ class WP_Admin_UI_Customize
1688
  unset( $SettingNodes[$Boxtype][$node_type][$key] );
1689
  continue;
1690
  }
 
 
 
 
 
 
 
 
 
 
1691
  } elseif( !empty( $All_Nodes[$node["id"]] ) ) {
1692
  if( $node["id"] == 'search' ) {
1693
  $node["href"] = $All_Nodes[$node["id"]]->href;
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_1
6
+ Version: 1.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_5_1
9
  Text Domain: wauc
10
  Domain Path: /languages
11
  */
56
 
57
 
58
  function __construct() {
59
+ $this->Ver = '1.5.1';
60
  $this->Name = 'WP Admin UI Customize';
61
  $this->Dir = plugin_dir_path( __FILE__ );
62
  $this->Url = plugin_dir_url( __FILE__ );
536
  $Filter_bar["front"]["main"]["edit-post_type"] = new stdClass;
537
  $Filter_bar["front"]["main"]["edit-post_type"] = (object) array( 'id' => 'edit-post_type' , 'title' => '' , 'href' => '' , 'group' => '' , 'meta' => array() );
538
  $Filter_bar["front"]["main"]["edit-post_type"]->title = sprintf( '%1$s (%2$s/%3$s/%4$s/%5$s/%6$s)' , __( 'Edit' ) , __( 'Posts' ) , __( 'Pages' ) , __( 'Categories' ) , __( 'Tags' ) , __( 'Custom' ) );
539
+
540
+ $Filter_bar["front"]["main"]["search"] = new stdClass;
541
+ $Filter_bar["front"]["main"]["search"] = (object) array( 'id' => 'search' , 'title' => '' , 'href' => '' , 'group' => '' , 'meta' => array() );
542
+ $Filter_bar["front"]["main"]["search"]->title = __( 'Search' );
543
+ $Filter_bar["front"]["main"]["search"]->href = get_search_link();
544
+
545
  return $Filter_bar;
546
  }
547
 
1693
  unset( $SettingNodes[$Boxtype][$node_type][$key] );
1694
  continue;
1695
  }
1696
+ } elseif( $node["id"] == 'search' ) {
1697
+ if( !empty( $All_Nodes["search"] ) ) {
1698
+ $node["title"] = $All_Nodes["search"]->title;
1699
+ $node["id"] = $All_Nodes["search"]->id;
1700
+ $node["href"] = "";
1701
+ $node["meta"]["class"] = $All_Nodes["search"]->meta["class"];
1702
+ } else {
1703
+ unset( $SettingNodes[$Boxtype][$node_type][$key] );
1704
+ continue;
1705
+ }
1706
  } elseif( !empty( $All_Nodes[$node["id"]] ) ) {
1707
  if( $node["id"] == 'search' ) {
1708
  $node["href"] = $All_Nodes[$node["id"]]->href;