Remove those naughty flushes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3749 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
54f3ab72d5
commit
cf70770e24
@ -37,7 +37,6 @@ class LJ_Import {
|
|||||||
unset($importdata);
|
unset($importdata);
|
||||||
echo '<ol>';
|
echo '<ol>';
|
||||||
foreach ($posts as $post) {
|
foreach ($posts as $post) {
|
||||||
flush();
|
|
||||||
preg_match('|<subject>(.*?)</subject>|is', $post, $post_title);
|
preg_match('|<subject>(.*?)</subject>|is', $post, $post_title);
|
||||||
$post_title = $wpdb->escape(trim($post_title[1]));
|
$post_title = $wpdb->escape(trim($post_title[1]));
|
||||||
if ( empty($post_title) ) {
|
if ( empty($post_title) ) {
|
||||||
@ -118,8 +117,6 @@ class LJ_Import {
|
|||||||
printf(__('(%s comments)'), $num_comments);
|
printf(__('(%s comments)'), $num_comments);
|
||||||
}
|
}
|
||||||
echo '</li>';
|
echo '</li>';
|
||||||
flush();
|
|
||||||
ob_flush();
|
|
||||||
}
|
}
|
||||||
echo '</ol>';
|
echo '</ol>';
|
||||||
}
|
}
|
||||||
|
@ -157,7 +157,6 @@ class MT_Import {
|
|||||||
echo '</form>';
|
echo '</form>';
|
||||||
echo '</ol></div>';
|
echo '</ol></div>';
|
||||||
|
|
||||||
flush();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function select_authors() {
|
function select_authors() {
|
||||||
@ -384,7 +383,6 @@ class MT_Import {
|
|||||||
|
|
||||||
echo "</li>";
|
echo "</li>";
|
||||||
}
|
}
|
||||||
flush();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '</ol>';
|
echo '</ol>';
|
||||||
|
@ -133,7 +133,6 @@ if (empty($admin_email)) {
|
|||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
flush();
|
|
||||||
|
|
||||||
$result = wp_install($weblog_title, __('admin'), $admin_email, $public);
|
$result = wp_install($weblog_title, __('admin'), $admin_email, $public);
|
||||||
extract($result);
|
extract($result);
|
||||||
|
Loading…
Reference in New Issue
Block a user