Skip to content

Commit 9eea998

Browse files
committed
Fix typo and prevent fatal error on activation. fixes #3, fixes #2.
1 parent cbe91d4 commit 9eea998

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function seodt_post_meta_analyze( $old_platform = '', $new_platform = '' ) {
130130

131131
$output->update = 0;
132132
$output->ignore = 0;
133-
$outout->elements = '';
133+
$output->elements = '';
134134

135135
foreach ( (array)$_seodt_platforms[$old_platform] as $label => $meta_key ) {
136136

plugin.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: SEO Data Transporter
44
Plugin URI: http://www.studiopress.com/plugins/seo-data-transporter
55
Description: Helps you transfer post/page specific SEO data, like custom doctitles, custom META descriptions and keywords, etc., from one platform (theme or plugin) to another.
6-
Version: 0.9.10
6+
Version: 0.9.11
77
Author: Nathan Rice
88
Author URI: http://www.nathanrice.net/
99
*/
@@ -182,7 +182,9 @@ function seodt_init() {
182182
*/
183183
register_activation_hook( __FILE__, 'seodt_activation_hook' );
184184
function seodt_activation_hook() {
185-
185+
186+
require_once( SEODT_PLUGIN_DIR . '/functions.php' );
187+
186188
seodt_meta_key_convert( '_yoast_seo_title', 'yoast_wpseo_title', true );
187189
seodt_meta_key_convert( '_yoast_seo_metadesc', 'yoast_wpseo_metadesc', true );
188190

0 commit comments

Comments
 (0)