Meta Manager - Version 1.0.3

Version Description

  • Bug fix: Meta box is displayed in link edit page.
Download this release

Release Info

Developer jim912
Plugin Icon wp plugin Meta Manager
Version 1.0.3
Comparing to
See all releases

Code changes from version 1.0.2 to 1.0.3

Files changed (2) hide show
  1. meta-manager.php +6 -4
  2. readme.txt +4 -1
meta-manager.php CHANGED
@@ -1,14 +1,14 @@
1
  <?php
2
  /**
3
  * @package Meta Manager
4
- * @version 1.0.2
5
  */
6
  /*
7
  Plugin Name: Meta Manager
8
  Plugin URI: http://www.warna.info/
9
  Description: Outputs meta description and meta keywords in the element head.
10
  Author: Hitoshi Omagari
11
- Version: 1.0.2
12
  Author URI: http://www.warna.info/
13
  */
14
 
@@ -146,8 +146,10 @@ public function delete_term_meta( $term_id ) {
146
  }
147
 
148
 
149
- public function add_post_meta_box( $post_type, $post ) {
150
- add_meta_box( 'post_meta_box', 'メタ情報', array( &$this, 'post_meta_box' ), $post_type, 'normal', 'high');
 
 
151
  }
152
 
153
 
1
  <?php
2
  /**
3
  * @package Meta Manager
4
+ * @version 1.0.3
5
  */
6
  /*
7
  Plugin Name: Meta Manager
8
  Plugin URI: http://www.warna.info/
9
  Description: Outputs meta description and meta keywords in the element head.
10
  Author: Hitoshi Omagari
11
+ Version: 1.0.3
12
  Author URI: http://www.warna.info/
13
  */
14
 
146
  }
147
 
148
 
149
+ public function add_post_meta_box( $post_type, $post ) {
150
+ if ( isset( $post->post_type ) ) {
151
+ add_meta_box( 'post_meta_box', 'メタ情報', array( &$this, 'post_meta_box' ), $post_type, 'normal', 'high');
152
+ }
153
  }
154
 
155
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: jim912
3
  Tags: SEO, keywords, description
4
  Requires at least: 3.0
5
  Tested up to: 3.3.2
6
- Stable tag: 1.0.2
7
 
8
  Outputs meta description and meta keywords in the element head.
9
 
@@ -12,6 +12,9 @@ Outputs meta description and meta keywords in the element head.
12
  Notice! Current version japanese only, yet.
13
 
14
  == Changelog ==
 
 
 
15
  = 1.0.2 =
16
  * Bug fix: Error occurred while deleting term.
17
 
3
  Tags: SEO, keywords, description
4
  Requires at least: 3.0
5
  Tested up to: 3.3.2
6
+ Stable tag: 1.0.3
7
 
8
  Outputs meta description and meta keywords in the element head.
9
 
12
  Notice! Current version japanese only, yet.
13
 
14
  == Changelog ==
15
+ = 1.0.3 =
16
+ * Bug fix: Meta box is displayed in link edit page.
17
+
18
  = 1.0.2 =
19
  * Bug fix: Error occurred while deleting term.
20