diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-11-24 16:16:44 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-11-24 16:16:44 +0000 |
| commit | 600b71019494e1c29898a620e58c0d2602f37b74 (patch) | |
| tree | 21181d77ad4ebbcd42cd883e509c08a568d29514 /wp-admin/import/greymatter.php | |
| parent | 7935d0bd9ef23d32ae29a95bd6c3ea0b6eab2973 (diff) | |
| download | wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.tar.gz wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.tar.xz wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.zip | |
WP Merge to 4524
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@810 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/import/greymatter.php')
| -rw-r--r-- | wp-admin/import/greymatter.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/wp-admin/import/greymatter.php b/wp-admin/import/greymatter.php index 5494197..ea05ff2 100644 --- a/wp-admin/import/greymatter.php +++ b/wp-admin/import/greymatter.php @@ -66,10 +66,10 @@ class GM_Import { $string = str_replace("|*|","<br />\n",$string); return($string); } - + function import() { global $wpdb; - + $wpvarstoreset = array('gmpath', 'archivespath', 'lastentry'); for ($i=0; $i<count($wpvarstoreset); $i += 1) { $wpvar = $wpvarstoreset[$i]; @@ -136,11 +136,11 @@ class GM_Import { <li><?php _e('importing posts, comments, and karma...') ?><br /><ul><?php chdir($archivespath); - + for($i = 0; $i <= $lastentry; $i = $i + 1) { - + $entryfile = ""; - + if ($i<10000000) { $entryfile .= "0"; if ($i<1000000) { @@ -194,7 +194,7 @@ class GM_Import { $post_status = 'publish'; //in greymatter, there are no drafts $comment_status = 'open'; $ping_status = 'closed'; - + if ($post_ID = post_exists($post_title, '', $post_date)) { echo ' '; _e('(already exists)'); @@ -303,7 +303,7 @@ class GM_Import { } function GM_Import() { - // Nothing. + // Nothing. } } |
