';
- // import Jerome's Keywords tags
+ // import Jerome's Keywords tags
$metakeys = $wpdb->get_results("SELECT post_id, meta_id, meta_key, meta_value FROM $wpdb->postmeta WHERE $wpdb->postmeta.meta_key = 'keywords'");
if ( !is_array($metakeys)) {
echo '
' . __('No Tags Found!') . '
';
echo '
'.__('Reading Jerome’s Keywords Tags…').'
';
- // import Jerome's Keywords tags
+ // import Jerome's Keywords tags
$tablename = $wpdb->prefix . substr(get_option('jkeywords_keywords_table'), 1, -1);
$metakeys = $wpdb->get_results("SELECT post_id, tag_name FROM $tablename");
if ( !is_array($metakeys) ) {
diff --git a/wp-admin/import/mt.php b/wp-admin/import/mt.php
index 50a03534e4..63ab04748d 100644
--- a/wp-admin/import/mt.php
+++ b/wp-admin/import/mt.php
@@ -215,7 +215,7 @@ class MT_Import {
$post->post_author = $this->checkauthor($post->post_author); //just so that if a post already exists, new users are not created by checkauthor
$post_id = wp_insert_post($post);
- if ( is_wp_error( $post_id ) )
+ if ( is_wp_error( $post_id ) )
return $post_id;
// Add categories.
@@ -294,7 +294,7 @@ class MT_Import {
// Finishing a post.
$context = '';
$result = $this->save_post($post, $comments, $pings);
- if ( is_wp_error( $result ) )
+ if ( is_wp_error( $result ) )
return $result;
$post = new StdClass;
$comment = new StdClass();
@@ -420,7 +420,7 @@ class MT_Import {
$this->file = get_attached_file($this->id);
$this->get_authors_from_post();
$result = $this->process_posts();
- if ( is_wp_error( $result ) )
+ if ( is_wp_error( $result ) )
return $result;
}
diff --git a/wp-admin/import/stp.php b/wp-admin/import/stp.php
index dee6fb567a..7df798db3c 100644
--- a/wp-admin/import/stp.php
+++ b/wp-admin/import/stp.php
@@ -70,7 +70,7 @@ class STP_Import {
if ( get_option('stpimp_posts') ) {
delete_option('stpimp_posts');
}
-
+
add_option('stpimp_posts', $posts);
$count = count($posts);
echo '
' . sprintf( __ngettext('Done! %s tag to post relationships were read.', 'Done! %s tags to post relationships were read.', $count), $count ) . '
';
@@ -87,10 +87,10 @@ class STP_Import {
function import_t2p ( ) {
echo '
';
echo '
'.__('Adding Tags to Posts…').'
';
-
+
// run that funky magic!
$tags_added = $this->tag2post();
-
+
echo '
' . sprintf( __ngettext('Done! %s tags where added!', 'Done! %s tags where added!', $tags_added), $tags_added ) . '
';
echo '
';
}
-
+
function users_form($n, $author) {
-
+
if ( $this->allow_create_users() ) {
printf(__('Create user %1$s or map to existing'), '
');
}
@@ -225,7 +225,7 @@ class WP_Import {
// keep track of $n => $author name
echo '
';
-
+
$users = get_users_of_blog();
?>