WP Total Hacks - Version 1.6.0

Version Description

  • Tested up to 3.8
  • Add marushu to contributors.
Download this release

Release Info

Developer miyauchi
Plugin Icon wp plugin WP Total Hacks
Version 1.6.0
Comparing to
See all releases

Code changes from version 1.5.0 to 1.6.0

Files changed (2) hide show
  1. readme.txt +6 -2
  2. wp-total-hacks.php +5 -3
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === WP Total Hacks ===
2
- Contributors: miyauchi
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FR7RD5SGEU69Y
4
  Tags: head, post, page, functions.php, admin, logo, auto save, revision, meta box, dashboard
5
  Requires at least: 3.5
6
  Tested up to: 3.8
7
- Stable tag: 1.5.0
8
 
9
  WP Total Hacks can customize more than 20 settings on your WordPress Site.
10
  PHP5 is required!
@@ -94,6 +94,10 @@ Please contact to me.
94
 
95
  == Changelog ==
96
 
 
 
 
 
97
  = 1.2.0 =
98
  * bug fix (logo in admin bar not display on the site.)
99
 
1
  === WP Total Hacks ===
2
+ Contributors: miyauchi,marushu
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FR7RD5SGEU69Y
4
  Tags: head, post, page, functions.php, admin, logo, auto save, revision, meta box, dashboard
5
  Requires at least: 3.5
6
  Tested up to: 3.8
7
+ Stable tag: 1.6.0
8
 
9
  WP Total Hacks can customize more than 20 settings on your WordPress Site.
10
  PHP5 is required!
94
 
95
  == Changelog ==
96
 
97
+ = 1.6.0 =
98
+ * Tested up to 3.8
99
+ * Add marushu to contributors.
100
+
101
  = 1.2.0 =
102
  * bug fix (logo in admin bar not display on the site.)
103
 
wp-total-hacks.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Total Hacks
4
  Author: Takayuki Miyauchi
5
  Plugin URI: http://wpist.me/wp/wp-total-hacks/
6
  Description: WP Total Hacks can customize your WordPress.
7
- Version: 1.5.0
8
  Author URI: http://wpist.me/
9
  Domain Path: /languages
10
  Text Domain: wp-total-hacks
@@ -278,8 +278,9 @@ public function wp_head()
278
 
279
  if (is_user_logged_in() && $this->op("wfb_custom_logo")) {
280
  $style = '<style type="text/css">';
281
- $style .= '#header-logo,#wp-admin-bar-wp-logo > .ab-item .ab-icon{background-image: url(%s) !important;}';
282
  $style .= '#wp-admin-bar-wp-logo > .ab-item .ab-icon{background-position: 0 0;}';
 
 
283
  $style .= '</style>';
284
  printf($style, $this->remove_scheme(esc_url($this->op("wfb_custom_logo"))));
285
  }
@@ -295,8 +296,9 @@ public function admin_head()
295
  return;
296
  }
297
  $style = '<style type="text/css">';
298
- $style .= '#header-logo,#wp-admin-bar-wp-logo > .ab-item .ab-icon{background-image: url(%s) !important;}';
299
  $style .= '#wp-admin-bar-wp-logo > .ab-item .ab-icon{background-position: 0 0;}';
 
 
300
  $style .= '</style>';
301
  printf($style, $this->remove_scheme(esc_url($this->op("wfb_custom_logo"))));
302
  }
4
  Author: Takayuki Miyauchi
5
  Plugin URI: http://wpist.me/wp/wp-total-hacks/
6
  Description: WP Total Hacks can customize your WordPress.
7
+ Version: 1.6.0
8
  Author URI: http://wpist.me/
9
  Domain Path: /languages
10
  Text Domain: wp-total-hacks
278
 
279
  if (is_user_logged_in() && $this->op("wfb_custom_logo")) {
280
  $style = '<style type="text/css">';
 
281
  $style .= '#wp-admin-bar-wp-logo > .ab-item .ab-icon{background-position: 0 0;}';
282
+ $style .= '#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before {position: absolute; left: -1000%%;}';
283
+ $style .= '#wpadminbar > #wp-toolbar.quicklinks > #wp-admin-bar-root-default.ab-top-menu > #wp-admin-bar-wp-logo.menupop > .ab-item > .ab-icon {background-image: url(%s) !important; width: 16px; height: 16px; background-repeat: no-repeat; top: 9px; left: 2px;}';
284
  $style .= '</style>';
285
  printf($style, $this->remove_scheme(esc_url($this->op("wfb_custom_logo"))));
286
  }
296
  return;
297
  }
298
  $style = '<style type="text/css">';
 
299
  $style .= '#wp-admin-bar-wp-logo > .ab-item .ab-icon{background-position: 0 0;}';
300
+ $style .= '#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before {position: absolute; left: -1000%%;}';
301
+ $style .= '#wpadminbar > #wp-toolbar.quicklinks > #wp-admin-bar-root-default.ab-top-menu > #wp-admin-bar-wp-logo.menupop > .ab-item > .ab-icon {background-image: url(%s) !important; width: 16px; height: 16px; background-repeat: no-repeat; top: 9px; left: 2px;}';
302
  $style .= '</style>';
303
  printf($style, $this->remove_scheme(esc_url($this->op("wfb_custom_logo"))));
304
  }