Version Description
- Compatible with WordPress 3.3
Download this release
Release Info
Developer | jim912 |
Plugin | Meta Manager |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
- meta-manager.php +3 -4
- readme.txt +5 -3
meta-manager.php
CHANGED
@@ -8,7 +8,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.
|
12 |
Author URI: http://www.warna.info/
|
13 |
*/
|
14 |
|
@@ -36,7 +36,7 @@ function __construct() {
|
|
36 |
register_deactivation_hook( __FILE__ , array( &$this, 'deactivation' ) );
|
37 |
}
|
38 |
|
39 |
-
add_action( 'wp_loaded', array( &$this, 'taxonomy_update_hooks' ) );
|
40 |
add_action( 'wp_head', array( &$this, 'output_meta' ), 0 );
|
41 |
|
42 |
$this->term_keywords = get_option( 'term_keywords' );
|
@@ -57,7 +57,6 @@ function taxonomy_update_hooks() {
|
|
57 |
add_action( 'created_' . $taxonomy, array( &$this, 'update_term_meta' ) );
|
58 |
add_action( 'edited_' . $taxonomy, array( &$this, 'update_term_meta' ) );
|
59 |
add_action( 'delete_' . $taxonomy, array( &$this, 'delete_term_meta' ) );
|
60 |
-
add_action( 'elete_' . $taxonomy, array( &$this, 'delete_term_meta' ) );
|
61 |
}
|
62 |
}
|
63 |
}
|
@@ -70,7 +69,7 @@ function plugin_action_links( $links, $file ) {
|
|
70 |
$this_plugin = plugin_basename(__FILE__);
|
71 |
if ( $file == $this_plugin ) {
|
72 |
$link = trailingslashit( get_bloginfo( 'wpurl' ) ) . 'wp-admin/options-general.php?page=meta-manager.php';
|
73 |
-
$tax_regist_link = '<a href="' . $link . '"
|
74 |
array_unshift( $links, $tax_regist_link ); // before other links
|
75 |
$link = wp_nonce_url( 'plugins.php?action=deactivate&plugin=' . $this_plugin . '&plugin_status=' . $status . '&paged=' . $paged . '&deloption=1&s=' . $s, 'deactivate-plugin_' . $this_plugin );
|
76 |
$del_setting_deactivation_link = '<a href="' . $link . '">設定を削除して停止</a>';
|
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.1
|
12 |
Author URI: http://www.warna.info/
|
13 |
*/
|
14 |
|
36 |
register_deactivation_hook( __FILE__ , array( &$this, 'deactivation' ) );
|
37 |
}
|
38 |
|
39 |
+
add_action( 'wp_loaded', array( &$this, 'taxonomy_update_hooks' ), 9999 );
|
40 |
add_action( 'wp_head', array( &$this, 'output_meta' ), 0 );
|
41 |
|
42 |
$this->term_keywords = get_option( 'term_keywords' );
|
57 |
add_action( 'created_' . $taxonomy, array( &$this, 'update_term_meta' ) );
|
58 |
add_action( 'edited_' . $taxonomy, array( &$this, 'update_term_meta' ) );
|
59 |
add_action( 'delete_' . $taxonomy, array( &$this, 'delete_term_meta' ) );
|
|
|
60 |
}
|
61 |
}
|
62 |
}
|
69 |
$this_plugin = plugin_basename(__FILE__);
|
70 |
if ( $file == $this_plugin ) {
|
71 |
$link = trailingslashit( get_bloginfo( 'wpurl' ) ) . 'wp-admin/options-general.php?page=meta-manager.php';
|
72 |
+
$tax_regist_link = '<a href="' . $link . '">' . __( 'Settings' ) . '</a>';
|
73 |
array_unshift( $links, $tax_regist_link ); // before other links
|
74 |
$link = wp_nonce_url( 'plugins.php?action=deactivate&plugin=' . $this_plugin . '&plugin_status=' . $status . '&paged=' . $paged . '&deloption=1&s=' . $s, 'deactivate-plugin_' . $this_plugin );
|
75 |
$del_setting_deactivation_link = '<a href="' . $link . '">設定を削除して停止</a>';
|
readme.txt
CHANGED
@@ -2,16 +2,18 @@
|
|
2 |
Contributors: jim912
|
3 |
Tags: SEO, keywords, description
|
4 |
Requires at least: 3.0
|
5 |
-
Tested up to: 3.
|
6 |
-
Stable tag: 1.0.
|
7 |
|
8 |
Outputs meta description and meta keywords in the element head.
|
9 |
|
10 |
== Description ==
|
11 |
Outputs meta description and meta keywords in the element head.
|
12 |
-
Notice!
|
13 |
|
14 |
== Changelog ==
|
|
|
|
|
15 |
|
16 |
= 1.0.0 =
|
17 |
* Change taxonomy hooks
|
2 |
Contributors: jim912
|
3 |
Tags: SEO, keywords, description
|
4 |
Requires at least: 3.0
|
5 |
+
Tested up to: 3.3
|
6 |
+
Stable tag: 1.0.1
|
7 |
|
8 |
Outputs meta description and meta keywords in the element head.
|
9 |
|
10 |
== Description ==
|
11 |
Outputs meta description and meta keywords in the element head.
|
12 |
+
Notice! Current version japanese only, yet.
|
13 |
|
14 |
== Changelog ==
|
15 |
+
= 1.0.1 =
|
16 |
+
* Compatible with WordPress 3.3
|
17 |
|
18 |
= 1.0.0 =
|
19 |
* Change taxonomy hooks
|