WP Admin UI Customize - Version 1.2.3

Version Description

  • Remove the "Wordpress" from the title tag of the Admin screen.
  • Added a preview of the logo image of the login screen.
  • Added a preview of the logo image of the login screen.
Download this release

Release Info

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

Code changes from version 1.2.2.2 to 1.2.3

inc/setting_admin_general.php CHANGED
@@ -146,6 +146,18 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
146
  <code>[blog_url] [template_directory_uri]</code>
147
  </td>
148
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
149
  </tbody>
150
  </table>
151
  </div>
146
  <code>[blog_url] [template_directory_uri]</code>
147
  </td>
148
  </tr>
149
+
150
+ <?php $field = 'title_tag'; ?>
151
+ <tr>
152
+ <th>
153
+ <label><?php _e( 'Title tag for Admin screen' , $this->ltd ); ?></label>
154
+ </th>
155
+ <td>
156
+ <?php $Checked = ''; ?>
157
+ <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
158
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e ( 'Remove the "Wordpress" from the title tag of the Admin screen' , $this->ltd ); ?></label>
159
+ </td>
160
+ </tr>
161
  </tbody>
162
  </table>
163
  </div>
inc/setting_dashboard.php CHANGED
@@ -29,7 +29,7 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
29
 
30
  <div class="postbox">
31
  <div class="handlediv" title="Click to toggle"><br></div>
32
- <h3 class="hndle"><span>Meta boxes</span></h3>
33
  <div class="inside">
34
  <table class="form-table">
35
  <tbody>
@@ -137,6 +137,28 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
137
  </div>
138
  </div>
139
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
  </div>
141
 
142
  <p class="submit">
29
 
30
  <div class="postbox">
31
  <div class="handlediv" title="Click to toggle"><br></div>
32
+ <h3 class="hndle"><span><?php _e( 'Meta boxes' , $this->ltd ); ?></span></h3>
33
  <div class="inside">
34
  <table class="form-table">
35
  <tbody>
137
  </div>
138
  </div>
139
 
140
+ <div class="postbox">
141
+ <div class="handlediv" title="Click to toggle"><br></div>
142
+ <h3 class="hndle"><span><?php _e( 'Other' , $this->ltd ); ?></span></h3>
143
+ <div class="inside">
144
+ <table class="form-table">
145
+ <tbody>
146
+ <?php $field = 'metabox_move'; ?>
147
+ <tr>
148
+ <th>
149
+ <label><?php _e( 'Movement restriction meta box' , $this->ltd ); ?></label>
150
+ </th>
151
+ <td>
152
+ <?php $Checked = ''; ?>
153
+ <?php if( !empty( $Data[$field] ) ) : $Checked = 'checked="checked"'; endif; ?>
154
+ <label><input type="checkbox" name="data[<?php echo $field; ?>]" value="1" <?php echo $Checked; ?> /> <?php _e( "Don't move the meta box." , $this->ltd ); ?></label>
155
+ </td>
156
+ </tr>
157
+ </tbody>
158
+ </table>
159
+ </div>
160
+ </div>
161
+
162
  </div>
163
 
164
  <p class="submit">
inc/setting_default.php CHANGED
@@ -106,9 +106,10 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
106
  <div class="inside">
107
  <p><?php _e( 'Version check' , $this->ltd_p ); ?> : 3.4.2 - 3.5.1</p>
108
  <ul>
 
109
  <li><a href="http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=side&utm_content=utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank"><?php _e( 'Developer\'s site' , $this->ltd_p ); ?></a></li>
110
  <li><a href="http://wordpress.org/support/plugin/wp-admin-ui-customize" target="_blank"><?php _e( 'Support Forums' ); ?></a></li>
111
- <li><a href="http://wordpress.org/support/view/plugin-reviews/wp-admin-ui-customize" target="_blank"><?php _e( 'Reviews' , $this->ltd ); ?></a></li>
112
  <li><a href="https://twitter.com/gqevu6bsiz" target="_blank">twitter</a></li>
113
  <li><a href="http://www.facebook.com/pages/Gqevu6bsiz/499584376749601" target="_blank">facebook</a></li>
114
  </ul>
106
  <div class="inside">
107
  <p><?php _e( 'Version check' , $this->ltd_p ); ?> : 3.4.2 - 3.5.1</p>
108
  <ul>
109
+ <li><a href="<?php echo $this->Site; ?>?utm_source=use_plugin&utm_medium=side&utm_content=utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank"><?php _e( 'Plugin\'s site' , $this->ltd_p ); ?></a></li>
110
  <li><a href="http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=side&utm_content=utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" target="_blank"><?php _e( 'Developer\'s site' , $this->ltd_p ); ?></a></li>
111
  <li><a href="http://wordpress.org/support/plugin/wp-admin-ui-customize" target="_blank"><?php _e( 'Support Forums' ); ?></a></li>
112
+ <li><a href="http://wordpress.org/support/view/plugin-reviews/wp-admin-ui-customize" target="_blank"><?php _e( 'Reviews' , $this->ltd_p ); ?></a></li>
113
  <li><a href="https://twitter.com/gqevu6bsiz" target="_blank">twitter</a></li>
114
  <li><a href="http://www.facebook.com/pages/Gqevu6bsiz/499584376749601" target="_blank">facebook</a></li>
115
  </ul>
inc/setting_loginscreen.php CHANGED
@@ -73,6 +73,11 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
73
  <?php if( !empty( $Data[$field] ) ) : $Val = strip_tags( $Data[$field] ); endif; ?>
74
  <input type="text" name="data[<?php echo $field; ?>]" value="<?php echo $Val; ?>" class="regular-text" id="<?php echo $field; ?>">
75
  <code>[blog_url] [template_directory_uri]</code>
 
 
 
 
 
76
  </td>
77
  </tr>
78
  </tbody>
73
  <?php if( !empty( $Data[$field] ) ) : $Val = strip_tags( $Data[$field] ); endif; ?>
74
  <input type="text" name="data[<?php echo $field; ?>]" value="<?php echo $Val; ?>" class="regular-text" id="<?php echo $field; ?>">
75
  <code>[blog_url] [template_directory_uri]</code>
76
+ <?php if( !empty( $Val ) ) : ?>
77
+ <?php $img = str_replace( '[blog_url]' , get_bloginfo( 'url' ) , $Val ); ?>
78
+ <?php $img = str_replace( '[template_directory_uri]' , get_bloginfo( 'url' ) , $img ); ?>
79
+ <p><img src="<?php echo $img; ?>" alt="Login Logo" /></p>
80
+ <?php endif; ?>
81
  </td>
82
  </tr>
83
  </tbody>
js/dashboard/not_move.js ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ jQuery(document).ready(function($) {
2
+
3
+ $( ".meta-box-sortables" ).sortable( "disable" );
4
+ $( ".postbox .hndle" ).css( "cursor" , "pointer" );
5
+
6
+ });
languages/wauc-ja.mo CHANGED
Binary file
languages/wauc.pot CHANGED
@@ -82,9 +82,27 @@ msgstr ""
82
  msgid "Footer text"
83
  msgstr ""
84
 
 
 
 
 
 
 
85
  msgid "Screen Options and Help tab"
86
  msgstr ""
87
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  msgid "Admin bar Menu"
89
  msgstr ""
90
 
82
  msgid "Footer text"
83
  msgstr ""
84
 
85
+ msgid "Title tag for Admin screen"
86
+ msgstr ""
87
+
88
+ msgid "Remove the \"Wordpress\" from the title tag of the Admin screen"
89
+ msgstr ""
90
+
91
  msgid "Screen Options and Help tab"
92
  msgstr ""
93
 
94
+ msgid "Meta boxes"
95
+ msgstr ""
96
+
97
+ msgid "Other"
98
+ msgstr ""
99
+
100
+ msgid "Movement restriction meta box"
101
+ msgstr ""
102
+
103
+ msgid "Don't move the meta box."
104
+ msgstr ""
105
+
106
  msgid "Admin bar Menu"
107
  msgstr ""
108
 
languages/wauc_plugin-ja.mo CHANGED
Binary file
languages/wauc_plugin.pot CHANGED
@@ -61,6 +61,9 @@ msgstr ""
61
  msgid "Version check"
62
  msgstr ""
63
 
 
 
 
64
  msgid "Developer's site"
65
  msgstr ""
66
 
61
  msgid "Version check"
62
  msgstr ""
63
 
64
+ msgid "Plugin's site"
65
+ msgstr ""
66
+
67
  msgid "Developer's site"
68
  msgstr ""
69
 
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_2_2_2
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.2.2.2
8
  License: GPL2
9
 
10
  Customize the management screen UI.
@@ -49,10 +49,15 @@ These to Customization is possible.
49
 
50
  == Changelog ==
51
 
 
 
 
 
 
52
  = 1.2.2.2 =
53
  * Fix admin bar menu used the tags in the title.
54
  * Associate add_action to the function of some.
55
- * Removed the unnecessary css file.
56
 
57
  = 1.2.2.1 =
58
  I've added about donation.
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_2_3
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.2.3
8
  License: GPL2
9
 
10
  Customize the management screen UI.
49
 
50
  == Changelog ==
51
 
52
+ = 1.2.3 =
53
+ * Remove the "Wordpress" from the title tag of the Admin screen.
54
+ * Added a preview of the logo image of the login screen.
55
+ * Added a preview of the logo image of the login screen.
56
+
57
  = 1.2.2.2 =
58
  * Fix admin bar menu used the tags in the title.
59
  * Associate add_action to the function of some.
60
+ * Movement restriction meta box for Dashboard.
61
 
62
  = 1.2.2.1 =
63
  I've added about donation.
wp-admin-ui-customize.php CHANGED
@@ -2,10 +2,10 @@
2
  /*
3
  Plugin Name: WP Admin UI Customize
4
  Description: It is an excellent plugin to customize the management screen.
5
- Plugin URI: http://wordpress.org/extend/plugins/wp-admin-ui-customize/
6
- Version: 1.2.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_2_2_2
9
  Text Domain: wauc
10
  Domain Path: /languages
11
  */
@@ -34,6 +34,7 @@ class WP_Admin_UI_Customize
34
  var $Ver,
35
  $Name,
36
  $Dir,
 
37
  $ltd,
38
  $Record,
39
  $PageSlug,
@@ -46,9 +47,10 @@ class WP_Admin_UI_Customize
46
 
47
 
48
  function __construct() {
49
- $this->Ver = '1.2.2.2';
50
  $this->Name = 'WP Admin UI Customize';
51
  $this->Dir = WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) . '/';
 
52
  $this->ltd = 'wauc';
53
  $this->ltd_p = $this->ltd . '_plugin';
54
  $this->Record = array(
@@ -743,7 +745,7 @@ class WP_Admin_UI_Customize
743
  }
744
 
745
  if( !is_network_admin() ) {
746
- if( array_key_exists( $UserRole , $SettingRole ) ){
747
  add_action( 'wp_before_admin_bar_render' , array( $this , 'admin_bar_menu') , 25 );
748
  add_action( 'init' , array( $this , 'notice_dismiss' ) , 2 );
749
  add_action( 'admin_head' , array( $this , 'remove_tab' ) );
@@ -754,6 +756,7 @@ class WP_Admin_UI_Customize
754
  add_filter( 'admin_menu', array( $this , 'sidemenu' ) , 10001 );
755
  add_filter( 'get_sample_permalink_html' , array( $this , 'add_edit_post_change_permalink' ) );
756
  add_action( 'admin_print_styles-nav-menus.php', array( $this , 'nav_menus' ) );
 
757
  }
758
  }
759
  }
@@ -1016,6 +1019,8 @@ class WP_Admin_UI_Customize
1016
  }
1017
  } elseif( array_key_exists( $id , $dashboard_widgets ) ){
1018
  remove_meta_box( $id , 'dashboard' , $dashboard_widgets[$id] );
 
 
1019
  }
1020
  }
1021
  }
@@ -1151,6 +1156,23 @@ class WP_Admin_UI_Customize
1151
  return $permalink_html;
1152
  }
1153
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1154
  // FilterStart
1155
  function nav_menus() {
1156
  $GetData = get_option( $this->Record["appearance_menus"] );
2
  /*
3
  Plugin Name: WP Admin UI Customize
4
  Description: It is an excellent plugin to customize the management screen.
5
+ Plugin URI: http://wpadminuicustomize.com/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_2_3
6
+ Version: 1.2.3
7
  Author: gqevu6bsiz
8
+ Author URI: http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=list&utm_content=wauc&utm_campaign=1_2_3
9
  Text Domain: wauc
10
  Domain Path: /languages
11
  */
34
  var $Ver,
35
  $Name,
36
  $Dir,
37
+ $Site,
38
  $ltd,
39
  $Record,
40
  $PageSlug,
47
 
48
 
49
  function __construct() {
50
+ $this->Ver = '1.2.3';
51
  $this->Name = 'WP Admin UI Customize';
52
  $this->Dir = WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) . '/';
53
+ $this->Site = 'http://wpadminuicustomize.com/';
54
  $this->ltd = 'wauc';
55
  $this->ltd_p = $this->ltd . '_plugin';
56
  $this->Record = array(
745
  }
746
 
747
  if( !is_network_admin() ) {
748
+ if( array_key_exists( $UserRole , $SettingRole ) ) {
749
  add_action( 'wp_before_admin_bar_render' , array( $this , 'admin_bar_menu') , 25 );
750
  add_action( 'init' , array( $this , 'notice_dismiss' ) , 2 );
751
  add_action( 'admin_head' , array( $this , 'remove_tab' ) );
756
  add_filter( 'admin_menu', array( $this , 'sidemenu' ) , 10001 );
757
  add_filter( 'get_sample_permalink_html' , array( $this , 'add_edit_post_change_permalink' ) );
758
  add_action( 'admin_print_styles-nav-menus.php', array( $this , 'nav_menus' ) );
759
+ add_filter( 'admin_title', array( $this, 'admin_title' ) );
760
  }
761
  }
762
  }
1019
  }
1020
  } elseif( array_key_exists( $id , $dashboard_widgets ) ){
1021
  remove_meta_box( $id , 'dashboard' , $dashboard_widgets[$id] );
1022
+ } elseif( $id == 'metabox_move' ) {
1023
+ wp_enqueue_script( 'not-move' , $this->Dir . 'js/dashboard/not_move.js' , array( 'jquery' , 'jquery-ui-sortable' ) , $this->Ver , true );
1024
  }
1025
  }
1026
  }
1156
  return $permalink_html;
1157
  }
1158
 
1159
+ // FilterStart
1160
+ function admin_title( $title ) {
1161
+ $GetData = get_option( $this->Record["admin_general"] );
1162
+
1163
+ if( !empty( $GetData["UPFN"] ) ) {
1164
+ unset( $GetData["UPFN"] );
1165
+
1166
+ if( !empty( $GetData["title_tag"] ) ) {
1167
+ if( strpos( $title , ' WordPress' ) ) {
1168
+ $title = str_replace( " &#8212; WordPress" , "" , $title );
1169
+ }
1170
+ }
1171
+ }
1172
+
1173
+ return $title;
1174
+ }
1175
+
1176
  // FilterStart
1177
  function nav_menus() {
1178
  $GetData = get_option( $this->Record["appearance_menus"] );