WP Total Hacks - Version 0.7.0

Version Description

  • http://wpist.me/2011/12/06/wp-total-hacks-0-7-0/
Download this release

Release Info

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

Code changes from version 0.6.1 to 0.7.0

Files changed (2) hide show
  1. readme.txt +4 -1
  2. wp-total-hacks.php +8 -9
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wpist.me/
4
  Tags: head, post, page, functions.php, admin, logo, auto save, revision, meta box, dashboard
5
  Requires at least: 3.2
6
  Tested up to: 3.3
7
- Stable tag: 0.6.1
8
 
9
  WP Total Hacks can customize more than 20 settings on your WordPress Site.
10
  PHP5 is required!
@@ -86,6 +86,9 @@ Please contact to me.
86
 
87
  == Changelog ==
88
 
 
 
 
89
  = 0.6.1 =
90
  * http://wpist.me/2011/11/21/wp-total-hacks-0-6-1/
91
 
4
  Tags: head, post, page, functions.php, admin, logo, auto save, revision, meta box, dashboard
5
  Requires at least: 3.2
6
  Tested up to: 3.3
7
+ Stable tag: 0.7.0
8
 
9
  WP Total Hacks can customize more than 20 settings on your WordPress Site.
10
  PHP5 is required!
86
 
87
  == Changelog ==
88
 
89
+ = 0.7.0 =
90
+ * http://wpist.me/2011/12/06/wp-total-hacks-0-7-0/
91
+
92
  = 0.6.1 =
93
  * http://wpist.me/2011/11/21/wp-total-hacks-0-6-1/
94
 
wp-total-hacks.php CHANGED
@@ -5,7 +5,7 @@ Author: Takayuki Miyauchi
5
  Plugin URI: http://wpist.me/wp/wp-total-hacks/
6
  Description: WP Total Hacks can customize your WordPress.
7
  Author: Takayuki Miyauchi
8
- Version: 0.6.1
9
  Author URI: http://wpist.me/
10
  Domain Path: /languages
11
  Text Domain: wp-total-hacks
@@ -179,14 +179,13 @@ public function wp_dashboard_setup()
179
  {
180
  if ($w = $this->op('wfb_widget')) {
181
  global $wp_meta_boxes;
182
- foreach ($wp_meta_boxes['dashboard']['normal']['core'] as $key => $array) {
183
- if (in_array($key, $w)) {
184
- unset($wp_meta_boxes['dashboard']['normal']['core'][$key]);
185
- }
186
- }
187
- foreach ($wp_meta_boxes['dashboard']['side']['core'] as $key => $array) {
188
- if (in_array($key, $w)) {
189
- unset($wp_meta_boxes['dashboard']['side']['core'][$key]);
190
  }
191
  }
192
  }
5
  Plugin URI: http://wpist.me/wp/wp-total-hacks/
6
  Description: WP Total Hacks can customize your WordPress.
7
  Author: Takayuki Miyauchi
8
+ Version: 0.7.0
9
  Author URI: http://wpist.me/
10
  Domain Path: /languages
11
  Text Domain: wp-total-hacks
179
  {
180
  if ($w = $this->op('wfb_widget')) {
181
  global $wp_meta_boxes;
182
+ foreach ( $wp_meta_boxes['dashboard'] as $position => $prio_boxes ) {
183
+ foreach ( $prio_boxes as $priority => $boxes ) {
184
+ foreach ( $boxes as $key => $array ) {
185
+ if (in_array($key, $w)) {
186
+ unset($wp_meta_boxes['dashboard'][$position][$priority][$key]);
187
+ }
188
+ }
 
189
  }
190
  }
191
  }