WP Admin UI Customize - Version 1.2.2.2

Version Description

  • Fix admin bar menu used the tags in the title.
  • Associate add_action to the function of some.
  • Removed the unnecessary css file.
Download this release

Release Info

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

Code changes from version 1.2.2.1 to 1.2.2.2

images/gqevu6bsiz.png DELETED
Binary file
inc/setting_admin_bar_menu.php CHANGED
@@ -53,16 +53,6 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
53
  <?php if( !empty( $node->parent ) && $node->parent != 'top-secondary' ) : ?>
54
 
55
  <?php $ChildNode[$node->parent][] = $node; ?>
56
- <?php
57
- /*
58
-
59
- <?php if( $node->parent == 'wp-logo-external' ) : ?>
60
- <?php $ChildNode["wp-logo"][] = $node; ?>
61
- <?php else: ?>
62
- <?php $ChildNode[$node->parent][] = $node; ?>
63
- <?php endif; ?>
64
- */
65
- ?>
66
 
67
  <?php endif; ?>
68
 
53
  <?php if( !empty( $node->parent ) && $node->parent != 'top-secondary' ) : ?>
54
 
55
  <?php $ChildNode[$node->parent][] = $node; ?>
 
 
 
 
 
 
 
 
 
 
56
 
57
  <?php endif; ?>
58
 
inc/setting_default.php CHANGED
@@ -63,11 +63,11 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
63
  </form>
64
 
65
  <form id="donation_form" class="waum_form" method="post" action="">
66
- <h3><?php _e( 'If you have already donated to.' , $this->ltd ); ?></h3>
67
- <p><?php _e( 'Please enter the \'Donation delete key\' that have been described in the \'Line Break First and End download page\'.' , $this->ltd ); ?></p>
68
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
69
  <?php wp_nonce_field(); ?>
70
- <label for="donate_key"><?php _e( 'Donation delete key' , $this->ltd ); ?></label>
71
  <input type="text" name="donate_key" id="donate_key" value="" class="regular-text" />
72
  <input type="submit" class="button-primary" name="update" value="<?php _e( 'Submit' ); ?>" />
73
  </form>
@@ -78,35 +78,35 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
78
 
79
  <div class="stuffbox" id="donationbox">
80
  <div class="inside">
81
- <p style="color: #FFFFFF; font-size: 20px;"><?php _e( 'Please donation.' , $this->ltd ); ?></p>
82
- <p style="color: #FFFFFF;"><?php _e( 'You are contented with this plugin?<br />By the laws of Japan, Japan\'s new paypal user can not make a donation button.<br />So i would like you to buy this plugin as the replacement for the donation.' , $this->ltd ); ?></p>
83
  <p>&nbsp;</p>
84
  <p style="text-align: center;">
85
  <a href="http://gqevu6bsiz.chicappa.jp/line-break-first-and-end/?utm_source=use_plugin&utm_medium=donate&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" class="button-primary" target="_blank">Line Break First and End</a>
86
  </p>
87
  <p>&nbsp;</p>
88
  <div class="donation_memo">
89
- <p><strong><?php _e( 'Features' , $this->ltd ); ?></strong></p>
90
- <p><?php _e( 'Line Break First and End plugin is In the visual editor TinyMCE, It is a plugin that will help when you will not be able to enter a line break.' , $this->ltd ); ?></p>
91
  </div>
92
  <div class="donation_memo">
93
- <p><strong><?php _e( 'The primary use of donations' , $this->ltd ); ?></strong></p>
94
  <ul>
95
- <li>- <?php _e( 'Liquidation of time and value' , $this->ltd ); ?></li>
96
- <li>- <?php _e( 'Additional suggestions feature' , $this->ltd ); ?></li>
97
- <li>- <?php _e( 'Maintain motivation' , $this->ltd ); ?></li>
98
- <li>- <?php _e( 'Ensure time as the father of Sunday' , $this->ltd ); ?></li>
99
  </ul>
100
  </div>
101
  </div>
102
  </div>
103
 
104
  <div class="stuffbox" id="aboutbox">
105
- <h3><span class="hndle"><?php _e( 'About plugin' , $this->ltd ); ?></span></h3>
106
  <div class="inside">
107
- <p><?php _e( 'Version check' , $this->ltd ); ?> : 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 ); ?></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>
@@ -116,14 +116,14 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
116
  </div>
117
 
118
  <div class="stuffbox" id="usefulbox">
119
- <h3><span class="hndle"><?php _e( 'Useful plugins' , $this->ltd ); ?></span></h3>
120
  <div class="inside">
121
  <p><strong><a href="http://wordpress.org/extend/plugins/post-lists-view-custom/" target="_blank">Post Lists View Custom</a></strong></p>
122
- <p class="description"><?php _e( 'Customize the list of the post and page. custom post type page, too. You can customize the column display items freely.' , $this->ltd ); ?></p>
123
  <p><strong><a href="http://wordpress.org/extend/plugins/announce-from-the-dashboard/" target="_blank">Announce from the Dashboard</a></strong></p>
124
- <p class="description"><?php _e( 'Announce to display the dashboard. Change the display to a different user role.' , $this->ltd ); ?></p>
125
  <p><strong><a href="http://wordpress.org/extend/plugins/custom-options-plus-post-in/" target="_blank">Custom Options Plus Post in</a></strong></p>
126
- <p class="description"><?php _e( 'The plugin that allows you to add the value of the options. Option value that you have created, can be used in addition to the template tag, Short code can be used in the body of the article.' , $this->ltd ); ?></p>
127
  <p>&nbsp;</p>
128
  </div>
129
  </div>
@@ -144,7 +144,11 @@ jQuery(document).ready(function($) {
144
 
145
  if( $RDonated == $TDonated ) {
146
  $("#donationbox").hide();
147
- $("#donation_form").html( '<p>&nbsp;</p><p>&nbsp;</p><span class="description"><?php _e( 'Thank you for your donation.' , $this->ltd ); ?></span>' );
 
 
 
 
148
  }
149
 
150
  });
63
  </form>
64
 
65
  <form id="donation_form" class="waum_form" method="post" action="">
66
+ <h3><?php _e( 'If you have already donated to.' , $this->ltd_p ); ?></h3>
67
+ <p><?php _e( 'Please enter the \'Donation delete key\' that have been described in the \'Line Break First and End download page\'.' , $this->ltd_p ); ?></p>
68
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
69
  <?php wp_nonce_field(); ?>
70
+ <label for="donate_key"><?php _e( 'Donation delete key' , $this->ltd_p ); ?></label>
71
  <input type="text" name="donate_key" id="donate_key" value="" class="regular-text" />
72
  <input type="submit" class="button-primary" name="update" value="<?php _e( 'Submit' ); ?>" />
73
  </form>
78
 
79
  <div class="stuffbox" id="donationbox">
80
  <div class="inside">
81
+ <p style="color: #FFFFFF; font-size: 20px;"><?php _e( 'Please donation.' , $this->ltd_p ); ?></p>
82
+ <p style="color: #FFFFFF;"><?php _e( 'You are contented with this plugin?<br />By the laws of Japan, Japan\'s new paypal user can not make a donation button.<br />So i would like you to buy this plugin as the replacement for the donation.' , $this->ltd_p ); ?></p>
83
  <p>&nbsp;</p>
84
  <p style="text-align: center;">
85
  <a href="http://gqevu6bsiz.chicappa.jp/line-break-first-and-end/?utm_source=use_plugin&utm_medium=donate&utm_content=<?php echo $this->ltd; ?>&utm_campaign=<?php echo str_replace( '.' , '_' , $this->Ver ); ?>" class="button-primary" target="_blank">Line Break First and End</a>
86
  </p>
87
  <p>&nbsp;</p>
88
  <div class="donation_memo">
89
+ <p><strong><?php _e( 'Features' , $this->ltd_p ); ?></strong></p>
90
+ <p><?php _e( 'Line Break First and End plugin is In the visual editor TinyMCE, It is a plugin that will help when you will not be able to enter a line break.' , $this->ltd_p ); ?></p>
91
  </div>
92
  <div class="donation_memo">
93
+ <p><strong><?php _e( 'The primary use of donations' , $this->ltd_p ); ?></strong></p>
94
  <ul>
95
+ <li>- <?php _e( 'Liquidation of time and value' , $this->ltd_p ); ?></li>
96
+ <li>- <?php _e( 'Additional suggestions feature' , $this->ltd_p ); ?></li>
97
+ <li>- <?php _e( 'Maintain motivation' , $this->ltd_p ); ?></li>
98
+ <li>- <?php _e( 'Ensure time as the father of Sunday' , $this->ltd_p ); ?></li>
99
  </ul>
100
  </div>
101
  </div>
102
  </div>
103
 
104
  <div class="stuffbox" id="aboutbox">
105
+ <h3><span class="hndle"><?php _e( 'About plugin' , $this->ltd_p ); ?></span></h3>
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>
116
  </div>
117
 
118
  <div class="stuffbox" id="usefulbox">
119
+ <h3><span class="hndle"><?php _e( 'Useful plugins' , $this->ltd_p ); ?></span></h3>
120
  <div class="inside">
121
  <p><strong><a href="http://wordpress.org/extend/plugins/post-lists-view-custom/" target="_blank">Post Lists View Custom</a></strong></p>
122
+ <p class="description"><?php _e( 'Customize the list of the post and page. custom post type page, too. You can customize the column display items freely.' , $this->ltd_p ); ?></p>
123
  <p><strong><a href="http://wordpress.org/extend/plugins/announce-from-the-dashboard/" target="_blank">Announce from the Dashboard</a></strong></p>
124
+ <p class="description"><?php _e( 'Announce to display the dashboard. Change the display to a different user role.' , $this->ltd_p ); ?></p>
125
  <p><strong><a href="http://wordpress.org/extend/plugins/custom-options-plus-post-in/" target="_blank">Custom Options Plus Post in</a></strong></p>
126
+ <p class="description"><?php _e( 'The plugin that allows you to add the value of the options. Option value that you have created, can be used in addition to the template tag, Short code can be used in the body of the article.' , $this->ltd_p ); ?></p>
127
  <p>&nbsp;</p>
128
  </div>
129
  </div>
144
 
145
  if( $RDonated == $TDonated ) {
146
  $("#donationbox").hide();
147
+ if( $TDonated != "" ) {
148
+ $("#donation_form").html( '<p>&nbsp;</p><p>&nbsp;</p><span class="description"><?php _e( 'Thank you for your donation.' , $this->ltd ); ?></span>' );
149
+ } else {
150
+ $("#donation_form").html( '' );
151
+ }
152
  }
153
 
154
  });
inc/setting_loginscreen.php CHANGED
@@ -26,7 +26,10 @@ wp_enqueue_style( $this->PageSlug , $this->Dir . dirname( dirname( plugin_basena
26
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
27
  <?php wp_nonce_field(); ?>
28
 
29
- <a title="<?php _e( 'Login Screen' , $this->ltd ); ?>" href="<?php echo get_option( 'siteurl' ); ?>/wp-login.php?TB_iframe=1&width=520&height=520" class="thickbox"><?php _e( 'Show Login Screen' , $this->ltd ); ?></a>
 
 
 
30
 
31
  <div class="metabox-holder columns-1">
32
 
26
  <input type="hidden" name="<?php echo $this->UPFN; ?>" value="Y" />
27
  <?php wp_nonce_field(); ?>
28
 
29
+ <?php if( is_multisite() ) : ?>
30
+ <p class="description"><?php _e( 'Is not possible to check the login form if you do not log out in the case of MultiSite.' , $this->ltd ); ?></p>
31
+ <?php endif; ?>
32
+ <p><a title="<?php _e( 'Login Screen' , $this->ltd ); ?>" href="<?php echo get_option( 'siteurl' ); ?>/wp-login.php?TB_iframe=1&width=520&height=520" class="thickbox"><?php _e( 'Show Login Screen' , $this->ltd ); ?></a></p>
33
 
34
  <div class="metabox-holder columns-1">
35
 
languages/wauc-ja.mo CHANGED
Binary file
languages/wauc.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: 1.0.0\n"
4
  "POT-Creation-Date: \n"
5
- "PO-Revision-Date: 2013-03-30 10:43+0900\n"
6
  "Language-Team: \n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
@@ -11,77 +11,11 @@ msgstr ""
11
  "X-Poedit-Language: Japanese\n"
12
  "X-Poedit-Country: JAPAN\n"
13
  "X-Poedit-SourceCharset: utf-8\n"
14
- "Last-Translator: \n"
15
 
16
  msgid "It is an excellent plugin to customize the management screen."
17
  msgstr ""
18
 
19
- msgid "Thank you for your donation."
20
- msgstr ""
21
-
22
- msgid "If you have already donated to."
23
- msgstr ""
24
-
25
- msgid "Please enter the 'Donation delete key' that have been described in the 'Line Break First and End download page'."
26
- msgstr ""
27
-
28
- msgid "Donation delete key"
29
- msgstr ""
30
-
31
- msgid "Please consider a donation if you are satisfied with this plugin."
32
- msgstr ""
33
-
34
- msgid "Please donation."
35
- msgstr ""
36
-
37
- msgid "You are contented with this plugin?<br />By the laws of Japan, Japan's new paypal user can not make a donation button.<br />So i would like you to buy this plugin as the replacement for the donation."
38
- msgstr ""
39
-
40
- msgid "Features"
41
- msgstr ""
42
-
43
- msgid "Line Break First and End plugin is In the visual editor TinyMCE, It is a plugin that will help when you will not be able to enter a line break."
44
- msgstr ""
45
-
46
- msgid "The primary use of donations"
47
- msgstr ""
48
-
49
- msgid "Liquidation of time and value"
50
- msgstr ""
51
-
52
- msgid "Additional suggestions feature"
53
- msgstr ""
54
-
55
- msgid "Maintain motivation"
56
- msgstr ""
57
-
58
- msgid "Ensure time as the father of Sunday"
59
- msgstr ""
60
-
61
- msgid "About plugin"
62
- msgstr ""
63
-
64
- msgid "Version check"
65
- msgstr ""
66
-
67
- msgid "Developer's site"
68
- msgstr ""
69
-
70
- msgid "Reviews"
71
- msgstr ""
72
-
73
- msgid "Useful plugins"
74
- msgstr ""
75
-
76
- msgid "Customize the list of the post and page. custom post type page, too. You can customize the column display items freely."
77
- msgstr ""
78
-
79
- msgid "Announce to display the dashboard. Change the display to a different user role."
80
- msgstr ""
81
-
82
- msgid "The plugin that allows you to add the value of the options. Option value that you have created, can be used in addition to the template tag, Short code can be used in the body of the article."
83
- msgstr ""
84
-
85
  msgid "Customize the UI of the management screen for all users."
86
  msgstr ""
87
 
@@ -214,6 +148,9 @@ msgstr ""
214
  msgid "Login Screen Settings"
215
  msgstr ""
216
 
 
 
 
217
  msgid "Show Login Screen"
218
  msgstr ""
219
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: WP Admin UI Customize\n"
4
  "POT-Creation-Date: \n"
5
+ "PO-Revision-Date: 2013-04-06 19:53+0900\n"
6
  "Language-Team: \n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
11
  "X-Poedit-Language: Japanese\n"
12
  "X-Poedit-Country: JAPAN\n"
13
  "X-Poedit-SourceCharset: utf-8\n"
14
+ "Last-Translator: Gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
15
 
16
  msgid "It is an excellent plugin to customize the management screen."
17
  msgstr ""
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  msgid "Customize the UI of the management screen for all users."
20
  msgstr ""
21
 
148
  msgid "Login Screen Settings"
149
  msgstr ""
150
 
151
+ msgid "Is not possible to check the login form if you do not log out in the case of MultiSite."
152
+ msgstr ""
153
+
154
  msgid "Show Login Screen"
155
  msgstr ""
156
 
languages/wauc_plugin-ja.mo ADDED
Binary file
languages/wauc_plugin.pot ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP Admin UI Customize\n"
4
+ "POT-Creation-Date: \n"
5
+ "PO-Revision-Date: 2013-04-06 19:53+0900\n"
6
+ "Language-Team: \n"
7
+ "MIME-Version: 1.0\n"
8
+ "Content-Type: text/plain; charset=utf-8\n"
9
+ "Content-Transfer-Encoding: 8bit\n"
10
+ "Plural-Forms: nplurals=1; plural=0;\n"
11
+ "X-Poedit-Language: Japanese\n"
12
+ "X-Poedit-Country: JAPAN\n"
13
+ "X-Poedit-SourceCharset: utf-8\n"
14
+ "Last-Translator: Gqevu6bsiz <gqevu6bsiz@gmail.com>\n"
15
+
16
+ msgid "Thank you for your donation."
17
+ msgstr ""
18
+
19
+ msgid "If you have already donated to."
20
+ msgstr ""
21
+
22
+ msgid "Please enter the 'Donation delete key' that have been described in the 'Line Break First and End download page'."
23
+ msgstr ""
24
+
25
+ msgid "Donation delete key"
26
+ msgstr ""
27
+
28
+ msgid "Please consider a donation if you are satisfied with this plugin."
29
+ msgstr ""
30
+
31
+ msgid "Please donation."
32
+ msgstr ""
33
+
34
+ msgid "You are contented with this plugin?<br />By the laws of Japan, Japan's new paypal user can not make a donation button.<br />So i would like you to buy this plugin as the replacement for the donation."
35
+ msgstr ""
36
+
37
+ msgid "Features"
38
+ msgstr ""
39
+
40
+ msgid "Line Break First and End plugin is In the visual editor TinyMCE, It is a plugin that will help when you will not be able to enter a line break."
41
+ msgstr ""
42
+
43
+ msgid "The primary use of donations"
44
+ msgstr ""
45
+
46
+ msgid "Liquidation of time and value"
47
+ msgstr ""
48
+
49
+ msgid "Additional suggestions feature"
50
+ msgstr ""
51
+
52
+ msgid "Maintain motivation"
53
+ msgstr ""
54
+
55
+ msgid "Ensure time as the father of Sunday"
56
+ msgstr ""
57
+
58
+ msgid "About plugin"
59
+ msgstr ""
60
+
61
+ msgid "Version check"
62
+ msgstr ""
63
+
64
+ msgid "Developer's site"
65
+ msgstr ""
66
+
67
+ msgid "Reviews"
68
+ msgstr ""
69
+
70
+ msgid "Useful plugins"
71
+ msgstr ""
72
+
73
+ msgid "Customize the list of the post and page. custom post type page, too. You can customize the column display items freely."
74
+ msgstr ""
75
+
76
+ msgid "Announce to display the dashboard. Change the display to a different user role."
77
+ msgstr ""
78
+
79
+ msgid "The plugin that allows you to add the value of the options. Option value that you have created, can be used in addition to the template tag, Short code can be used in the body of the article."
80
+ msgstr ""
81
+
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_1
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.1
8
  License: GPL2
9
 
10
  Customize the management screen UI.
@@ -49,6 +49,11 @@ These to Customization is possible.
49
 
50
  == Changelog ==
51
 
 
 
 
 
 
52
  = 1.2.2.1 =
53
  I've added about donation.
54
 
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
 
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.
59
 
wp-admin-ui-customize.php CHANGED
@@ -3,9 +3,9 @@
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.1
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_1
9
  Text Domain: wauc
10
  Domain Path: /languages
11
  */
@@ -46,10 +46,11 @@ class WP_Admin_UI_Customize
46
 
47
 
48
  function __construct() {
49
- $this->Ver = '1.2.2.1';
50
  $this->Name = 'WP Admin UI Customize';
51
  $this->Dir = WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) . '/';
52
  $this->ltd = 'wauc';
 
53
  $this->Record = array(
54
  "user_role" => $this->ltd . '_user_role_setting',
55
  "site" => $this->ltd . '_site_setting',
@@ -79,6 +80,7 @@ class WP_Admin_UI_Customize
79
  function PluginSetup() {
80
  // load text domain
81
  load_plugin_textdomain( $this->ltd , false , basename( dirname( __FILE__ ) ) . '/languages' );
 
82
 
83
  // plugin links
84
  add_filter( 'plugin_action_links' , array( $this , 'plugin_action_links' ) , 10 , 2 );
@@ -415,7 +417,7 @@ class WP_Admin_UI_Customize
415
  <input type="hidden" class="linktext" value="<?php echo $sm["href"]; ?>" name="data[][href]">
416
  </p>
417
  <label>
418
- <?php _e( 'Title' ); ?> : <input type="text" class="regular-text titletext" value="<?php echo $sm["title"]; ?>" name="data[][title]">
419
  </label>
420
  <input type="hidden" class="parent" value="<?php echo $sm["parent"]; ?>" name="data[][parent]">
421
  </div>
@@ -710,7 +712,7 @@ class WP_Admin_UI_Customize
710
  function FilterStart() {
711
  // site
712
  if( !is_admin() ) {
713
- $this->remove_action_front();
714
  add_filter( 'login_headerurl' , array( $this , 'login_headerurl' ) );
715
  add_filter( 'login_headertitle' , array( $this , 'login_headertitle' ) );
716
  add_action( 'login_head' , array( $this , 'login_head' ) );
@@ -722,36 +724,38 @@ class WP_Admin_UI_Customize
722
  add_action( 'admin_menu' , array( $this , 'sidemenu_default_load' ) , 10000 );
723
  // default admin bar menu load.
724
  add_action( 'wp_before_admin_bar_render' , array( $this , 'admin_bar_default_load' ) , 1 );
725
-
726
- $SettingRole = $this->get_data( 'user_role' );
727
- if( !empty( $SettingRole ) ) {
728
- unset($SettingRole["UPFN"]);
729
- if( !empty( $SettingRole ) ) {
730
- add_action( 'init' , array( $this , 'admin_init' ) );
731
- }
732
- }
733
  }
734
  }
735
 
736
  // FilterStart
737
  function admin_init() {
 
738
  $SettingRole = $this->get_data( 'user_role' );
739
- unset($SettingRole["UPFN"]);
740
-
741
- $User = wp_get_current_user();
742
- $UserRole = $User->roles[0];
743
-
744
- if( array_key_exists( $UserRole , $SettingRole ) ){
745
- add_action( 'wp_before_admin_bar_render' , array( $this , 'admin_bar_menu') , 25 );
746
- add_action( 'init' , array( $this , 'notice_dismiss' ) , 2 );
747
- add_action( 'admin_head' , array( $this , 'remove_tab' ) );
748
- add_filter( 'admin_footer_text' , array( $this , 'admin_footer_text' ) );
749
- add_action( 'admin_print_styles' , array( $this , 'load_css' ) );
750
- add_action( 'wp_dashboard_setup' , array( $this , 'wp_dashboard_setup' ) );
751
- add_action( 'admin_menu' , array( $this , 'removemetabox' ) );
752
- add_filter( 'admin_menu', array( $this , 'sidemenu' ) , 10001 );
753
- add_filter( 'get_sample_permalink_html' , array( $this , 'add_edit_post_change_permalink' ) );
754
- add_action( 'admin_print_styles-nav-menus.php', array( $this , 'nav_menus' ) );
 
 
 
 
 
 
 
755
  }
756
  }
757
 
@@ -994,9 +998,9 @@ class WP_Admin_UI_Customize
994
  global $wp_meta_boxes;
995
 
996
  $GetData = get_option( $this->Record["dashboard"] );
997
- unset($GetData["f"]);
998
 
999
  if( !empty( $GetData ) && is_array( $GetData ) ) {
 
1000
  $dashboard_widgets = array();
1001
  foreach($wp_meta_boxes["dashboard"] as $ns => $core) {
1002
  foreach($core["core"] as $id => $val) {
@@ -1161,13 +1165,11 @@ class WP_Admin_UI_Customize
1161
  }
1162
 
1163
  }
1164
-
1165
- wp_enqueue_style( $this->PageSlug , $this->Dir . 'css/nav-menus.css' , array() , $this->Ver );
1166
  }
1167
 
1168
  // FilterStart
1169
  function layout_footer( $text ) {
1170
- $text = '<img src="' . $this->Dir . 'images/gqevu6bsiz.png" width="18" /> Plugin developer : <a href="http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=footer&utm_content=' . $this->ltd . '&utm_campaign=' . str_replace( '.' , '_' , $this->Ver ) . '" target="_blank">gqevu6bsiz</a>';
1171
  return $text;
1172
  }
1173
 
@@ -1175,7 +1177,7 @@ class WP_Admin_UI_Customize
1175
  function DisplayDonation() {
1176
  $donation = get_option( $this->Record["donate"] );
1177
  if( $this->DonateKey != $donation ) {
1178
- $this->Msg .= '<div class="error"><p><strong>' . __( 'Please consider a donation if you are satisfied with this plugin.' , $this->ltd ) . '</strong> <a href="' . self_admin_url( 'admin.php?page=' . $this->PageSlug ) . '">' . __( 'Please donation.' , $this->ltd ) . '</a></p></div>';
1179
  }
1180
  }
1181
 
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
  */
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(
55
  "user_role" => $this->ltd . '_user_role_setting',
56
  "site" => $this->ltd . '_site_setting',
80
  function PluginSetup() {
81
  // load text domain
82
  load_plugin_textdomain( $this->ltd , false , basename( dirname( __FILE__ ) ) . '/languages' );
83
+ load_plugin_textdomain( $this->ltd_p , false , basename( dirname( __FILE__ ) ) . '/languages' );
84
 
85
  // plugin links
86
  add_filter( 'plugin_action_links' , array( $this , 'plugin_action_links' ) , 10 , 2 );
417
  <input type="hidden" class="linktext" value="<?php echo $sm["href"]; ?>" name="data[][href]">
418
  </p>
419
  <label>
420
+ <?php _e( 'Title' ); ?> : <input type="text" class="regular-text titletext" value="<?php echo esc_html( $sm["title"] ); ?>" name="data[][title]">
421
  </label>
422
  <input type="hidden" class="parent" value="<?php echo $sm["parent"]; ?>" name="data[][parent]">
423
  </div>
712
  function FilterStart() {
713
  // site
714
  if( !is_admin() ) {
715
+ add_action( 'setup_theme' , array( $this , 'remove_action_front' ) ) ;
716
  add_filter( 'login_headerurl' , array( $this , 'login_headerurl' ) );
717
  add_filter( 'login_headertitle' , array( $this , 'login_headertitle' ) );
718
  add_action( 'login_head' , array( $this , 'login_head' ) );
724
  add_action( 'admin_menu' , array( $this , 'sidemenu_default_load' ) , 10000 );
725
  // default admin bar menu load.
726
  add_action( 'wp_before_admin_bar_render' , array( $this , 'admin_bar_default_load' ) , 1 );
727
+ // admin init
728
+ add_action( 'init' , array( $this , 'admin_init' ) );
 
 
 
 
 
 
729
  }
730
  }
731
 
732
  // FilterStart
733
  function admin_init() {
734
+
735
  $SettingRole = $this->get_data( 'user_role' );
736
+ if( !empty( $SettingRole ) ) {
737
+ unset($SettingRole["UPFN"]);
738
+
739
+ $UserRole = '';
740
+ $User = wp_get_current_user();
741
+ if( !empty( $User->roles[0] ) ) {
742
+ $UserRole = $User->roles[0];
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' ) );
750
+ add_filter( 'admin_footer_text' , array( $this , 'admin_footer_text' ) );
751
+ add_action( 'admin_print_styles' , array( $this , 'load_css' ) );
752
+ add_action( 'wp_dashboard_setup' , array( $this , 'wp_dashboard_setup' ) );
753
+ add_action( 'admin_menu' , array( $this , 'removemetabox' ) );
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
  }
760
  }
761
 
998
  global $wp_meta_boxes;
999
 
1000
  $GetData = get_option( $this->Record["dashboard"] );
 
1001
 
1002
  if( !empty( $GetData ) && is_array( $GetData ) ) {
1003
+ unset($GetData["UPFN"]);
1004
  $dashboard_widgets = array();
1005
  foreach($wp_meta_boxes["dashboard"] as $ns => $core) {
1006
  foreach($core["core"] as $id => $val) {
1165
  }
1166
 
1167
  }
 
 
1168
  }
1169
 
1170
  // FilterStart
1171
  function layout_footer( $text ) {
1172
+ $text = '<img src="http://www.gravatar.com/avatar/7e05137c5a859aa987a809190b979ed4?s=18" width="18" /> Plugin developer : <a href="http://gqevu6bsiz.chicappa.jp/?utm_source=use_plugin&utm_medium=footer&utm_content=' . $this->ltd . '&utm_campaign=' . str_replace( '.' , '_' , $this->Ver ) . '" target="_blank">gqevu6bsiz</a>';
1173
  return $text;
1174
  }
1175
 
1177
  function DisplayDonation() {
1178
  $donation = get_option( $this->Record["donate"] );
1179
  if( $this->DonateKey != $donation ) {
1180
+ $this->Msg .= '<div class="error"><p><strong>' . __( 'Please consider a donation if you are satisfied with this plugin.' , $this->ltd_p ) . '</strong> <a href="' . self_admin_url( 'admin.php?page=' . $this->PageSlug ) . '">' . __( 'Please donation.' , $this->ltd_p ) . '</a></p></div>';
1181
  }
1182
  }
1183