Permalink
Browse files

Remove trailing whitespace

git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 87c4f3a commit 321c310717b74896c31997e09508d225e34f24c1 ryan committed Sep 3, 2007
Showing with 708 additions and 708 deletions.
  1. +2 −2 wp-admin/admin-footer.php
  2. +1 −1 wp-admin/admin-header.php
  3. +2 −2 wp-admin/categories.php
  4. +1 −1 wp-admin/edit-category-form.php
  5. +8 −8 wp-admin/edit-comments.php
  6. +10 −10 wp-admin/edit-form-advanced.php
  7. +3 −3 wp-admin/edit-form-comment.php
  8. +2 −2 wp-admin/edit-form.php
  9. +1 −1 wp-admin/edit-pages.php
  10. +4 −4 wp-admin/edit-post-rows.php
  11. +6 −6 wp-admin/edit.php
  12. +5 −5 wp-admin/import/blogger.php
  13. +3 −3 wp-admin/import/dotclear.php
  14. +2 −2 wp-admin/import/mt.php
  15. +4 −4 wp-admin/import/stp.php
  16. +2 −2 wp-admin/import/textpattern.php
  17. +3 −3 wp-admin/import/wordpress.php
  18. +2 −2 wp-admin/includes/plugin.php
  19. +3 −3 wp-admin/includes/post.php
  20. +1 −1 wp-admin/includes/taxonomy.php
  21. +7 −7 wp-admin/includes/template.php
  22. +3 −3 wp-admin/includes/update.php
  23. +1 −1 wp-admin/includes/upgrade.php
  24. +1 −1 wp-admin/includes/user.php
  25. +1 −1 wp-admin/index-extra.php
  26. +3 −3 wp-admin/index.php
  27. +2 −2 wp-admin/link-category.php
  28. +1 −1 wp-admin/link-import.php
  29. +1 −1 wp-admin/menu.php
  30. +10 −10 wp-admin/moderation.php
  31. +50 −50 wp-admin/options-discussion.php
  32. +42 −42 wp-admin/options-general.php
  33. +14 −14 wp-admin/options-permalink.php
  34. +42 −42 wp-admin/options-reading.php
  35. +9 −9 wp-admin/options-writing.php
  36. +1 −1 wp-admin/page-new.php
  37. +1 −1 wp-admin/page.php
  38. +4 −4 wp-admin/post-new.php
  39. +1 −1 wp-admin/post.php
  40. +1 −1 wp-admin/theme-editor.php
  41. +2 −2 wp-admin/upgrade.php
  42. +6 −6 wp-admin/users.php
  43. +6 −6 wp-admin/widgets.php
  44. +4 −4 wp-app.php
  45. +1 −1 wp-content/plugins/hello.php
  46. +2 −2 wp-content/themes/classic/comments-popup.php
  47. +2 −2 wp-content/themes/default/attachment.php
  48. +2 −2 wp-content/themes/default/comments-popup.php
  49. +9 −9 wp-includes/atomlib.php
  50. +7 −7 wp-includes/author-template.php
  51. +17 −17 wp-includes/bookmark-template.php
  52. +7 −7 wp-includes/bookmark.php
  53. +1 −1 wp-includes/canonical.php
  54. +28 −28 wp-includes/category-template.php
  55. +11 −11 wp-includes/category.php
  56. +16 −16 wp-includes/class-IXR.php
  57. +57 −57 wp-includes/class-phpmailer.php
  58. +1 −1 wp-includes/class-pop3.php
  59. +1 −1 wp-includes/class-snoopy.php
  60. +1 −1 wp-includes/comment-template.php
  61. +1 −1 wp-includes/feed-atom-comments.php
  62. +2 −2 wp-includes/feed-rss2-comments.php
  63. +2 −2 wp-includes/feed.php
  64. +11 −11 wp-includes/formatting.php
  65. +9 −9 wp-includes/functions.php
  66. +11 −11 wp-includes/general-template.php
  67. +1 −1 wp-includes/js/tinymce/wp-mce-help.php
  68. +101 −101 wp-includes/kses.php
  69. +3 −3 wp-includes/locale.php
  70. +3 −3 wp-includes/pluggable.php
  71. +36 −36 wp-includes/plugin.php
  72. +9 −9 wp-includes/post-template.php
  73. +16 −16 wp-includes/post.php
  74. +18 −18 wp-includes/query.php
  75. +3 −3 wp-includes/rss.php
  76. +1 −1 wp-includes/streams.php
  77. +15 −15 wp-includes/taxonomy.php
  78. +2 −2 wp-includes/theme.php
  79. +3 −3 wp-includes/update.php
  80. +9 −9 wp-includes/widgets.php
  81. +1 −1 wp-includes/wp-db.php
  82. +1 −1 wp-login.php
  83. +4 −4 wp-settings.php
  84. +5 −5 xmlrpc.php
@@ -1,9 +1,9 @@
<div id="footer">
-<p><?php
+<p><?php
$upgrade = apply_filters( 'update_footer', '' );
-echo __('Thank you for creating with <a href="http://wordpress.org/">WordPress</a>').' | '.__('<a href="http://codex.wordpress.org/">Documentation</a>').' | '.__('<a href="http://wordpress.org/support/forum/4">Feedback</a>').' '.$upgrade;
+echo __('Thank you for creating with <a href="http://wordpress.org/">WordPress</a>').' | '.__('<a href="http://codex.wordpress.org/">Documentation</a>').' | '.__('<a href="http://wordpress.org/support/forum/4">Feedback</a>').' '.$upgrade;
?></p>
</div>
@@ -17,7 +17,7 @@
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
<title><?php bloginfo('name') ?> &rsaquo; <?php echo wp_specialchars( strip_tags( $title ) ); ?> &#8212; WordPress</title>
-<?php wp_admin_css(); ?>
+<?php wp_admin_css(); ?>
<script type="text/javascript">
//<![CDATA[
function addLoadEvent(func) {if ( typeof wpOnload!='function'){wpOnload=func;}else{ var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}}
@@ -60,9 +60,9 @@
wp_die(__('Cheatin&#8217; uh?'));
if ( wp_update_category($_POST) )
- wp_redirect('categories.php?message=3');
+ wp_redirect('categories.php?message=3');
else
- wp_redirect('categories.php?message=5');
+ wp_redirect('categories.php?message=5');
exit;
break;
@@ -34,7 +34,7 @@
</tr>
<tr>
<th scope="row" valign="top"><label for="category_parent"><?php _e('Category parent:') ?></label></th>
- <td>
+ <td>
<?php wp_dropdown_categories('hide_empty=0&name=category_parent&orderby=name&selected=' . $category->parent . '&hierarchical=1&show_option_none=' . __('None')); ?>
</td>
</tr>
@@ -39,14 +39,14 @@ function getNumChecked(form)
</script>
<div class="wrap">
<h2><?php _e('Comments'); ?></h2>
-<form name="searchform" action="" method="get" id="editcomments">
- <fieldset>
- <legend><?php _e('Show Comments That Contain...') ?></legend>
- <input type="text" name="s" value="<?php if (isset($_GET['s'])) echo attribute_escape($_GET['s']); ?>" size="17" />
- <input type="submit" name="submit" value="<?php _e('Search') ?>" />
+<form name="searchform" action="" method="get" id="editcomments">
+ <fieldset>
+ <legend><?php _e('Show Comments That Contain...') ?></legend>
+ <input type="text" name="s" value="<?php if (isset($_GET['s'])) echo attribute_escape($_GET['s']); ?>" size="17" />
+ <input type="submit" name="submit" value="<?php _e('Search') ?>" />
<input type="hidden" name="mode" value="<?php echo $mode; ?>" />
<?php _e('(Searches within comment text, e-mail, URL, and IP address.)') ?>
- </fieldset>
+ </fieldset>
</form>
<p><a href="?mode=view"><?php _e('View Mode') ?></a> | <a href="?mode=edit"><?php _e('Mass Edit Mode') ?></a></p>
<?php
@@ -88,7 +88,7 @@ function getNumChecked(form)
$extra_comments = array_slice($_comments, 20);
$page_links = paginate_links( array(
- 'base' => add_query_arg( 'apage', '%#%' ),
+ 'base' => add_query_arg( 'apage', '%#%' ),
'format' => '',
'total' => ceil($total / 20),
'current' => $page
@@ -176,7 +176,7 @@ function getNumChecked(form)
echo "<a href=\"comment.php?action=deletecomment&amp;p=".$comment->comment_post_ID."&amp;c=".$comment->comment_ID."\" onclick=\"return deleteSomething( 'comment', $comment->comment_ID, '" . js_escape(sprintf(__("You are about to delete this comment by '%s'. \n 'Cancel' to stop, 'OK' to delete."), $comment->comment_author )) . "', theCommentList );\" class='delete'>" . __('Delete') . "</a> ";
} ?></td>
</tr>
- <?php
+ <?php
} // end foreach
?></table>
<p class="submit"><input type="submit" name="delete_button" class="delete" value="<?php _e('Delete Checked Comments &raquo;') ?>" onclick="var numchecked = getNumChecked(document.getElementById('deletecomments')); if(numchecked < 1) { alert('<?php echo js_escape(__("Please select some comments to delete")); ?>'); return false } return confirm('<?php echo sprintf(js_escape(__("You are about to delete %s comments permanently \n 'Cancel' to stop, 'OK' to delete.")), "' + numchecked + '"); ?>')" />
@@ -84,23 +84,23 @@ function focusit() {
<input name="advanced_view" type="hidden" value="1" />
<label for="comment_status" class="selectit">
<input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> />
-<?php _e('Allow Comments') ?></label>
+<?php _e('Allow Comments') ?></label>
<label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow Pings') ?></label>
</div>
</fieldset>
<fieldset id="passworddiv" class="dbx-box">
-<h3 class="dbx-handle"><?php _e('Post Password') ?></h3>
+<h3 class="dbx-handle"><?php _e('Post Password') ?></h3>
<div class="dbx-content"><input name="post_password" type="text" size="13" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></div>
</fieldset>
<fieldset id="slugdiv" class="dbx-box">
-<h3 class="dbx-handle"><?php _e('Post Slug') ?></h3>
+<h3 class="dbx-handle"><?php _e('Post Slug') ?></h3>
<div class="dbx-content"><input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" /></div>
</fieldset>
<fieldset id="poststatusdiv" class="dbx-box">
-<h3 class="dbx-handle"><?php _e('Post Status') ?></h3>
+<h3 class="dbx-handle"><?php _e('Post Status') ?></h3>
<div class="dbx-content">
<?php if ( current_user_can('publish_posts') ) : ?>
<label for="post_status_publish" class="selectit"><input id="post_status_publish" name="post_status" type="radio" value="publish" <?php checked($post->post_status, 'publish'); checked($post->post_status, 'future'); ?> /> <?php _e('Published') ?></label>
@@ -117,7 +117,7 @@ function focusit() {
</fieldset>
<?php endif; ?>
-<?php
+<?php
$authors = get_editable_user_ids( $current_user->id ); // TODO: ROLE SYSTEM
if ( $authors && count( $authors ) > 1 ) :
?>
@@ -163,19 +163,19 @@ function focusit() {
<p class="submit">
<span id="autosave"></span>
<?php echo $saveasdraft; ?>
-<input type="submit" name="submit" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" />
-<?php
+<input type="submit" name="submit" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" />
+<?php
if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_ID ) {
?>
<?php if ( current_user_can('publish_posts') ) : ?>
- <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" />
+ <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" />
<?php else : ?>
- <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" />
+ <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" />
<?php endif; ?>
<?php
}
?>
-<input name="referredby" type="hidden" id="referredby" value="<?php
+<input name="referredby" type="hidden" id="referredby" value="<?php
if ( !empty($_REQUEST['popupurl']) )
echo clean_url(stripslashes($_REQUEST['popupurl']));
else if ( url_to_postid(wp_get_referer()) == $post_ID )
@@ -54,8 +54,8 @@ function focusit() { // focus on first input field
<table width="100%" cellspacing="2" cellpadding="5" class="editform">
<tr>
<th scope="row" valign="top"><?php _e('Comment Status') ?>:</th>
- <td><label for="comment_status_approved" class="selectit"><input id="comment_status_approved" name="comment_status" type="radio" value="1" <?php checked($comment->comment_approved, '1'); ?> /> <?php _e('Approved') ?></label> &nbsp;
- <label for="comment_status_moderated" class="selectit"><input id="comment_status_moderated" name="comment_status" type="radio" value="0" <?php checked($comment->comment_approved, '0'); ?> /> <?php _e('Moderated') ?></label> &nbsp;
+ <td><label for="comment_status_approved" class="selectit"><input id="comment_status_approved" name="comment_status" type="radio" value="1" <?php checked($comment->comment_approved, '1'); ?> /> <?php _e('Approved') ?></label> &nbsp;
+ <label for="comment_status_moderated" class="selectit"><input id="comment_status_moderated" name="comment_status" type="radio" value="0" <?php checked($comment->comment_approved, '0'); ?> /> <?php _e('Moderated') ?></label> &nbsp;
<label for="comment_status_spam" class="selectit"><input id="comment_status_spam" name="comment_status" type="radio" value="spam" <?php checked($comment->comment_approved, 'spam'); ?> /> <?php _e('Spam') ?></label></td>
</tr>
@@ -68,7 +68,7 @@ function focusit() { // focus on first input field
<tr>
<th scope="row" valign="top">&nbsp;</th>
- <td><input name="deletecomment" class="button delete" type="submit" id="deletecomment" tabindex="10" value="<?php _e('Delete this comment') ?>" <?php echo "onclick=\"if ( confirm('" . js_escape(__("You are about to delete this comment. \n 'Cancel' to stop, 'OK' to delete.")) . "') ) { document.forms.post._wpnonce.value = '" . wp_create_nonce( 'delete-comment_' . $comment->comment_ID ) . "'; return true; } return false;\""; ?> />
+ <td><input name="deletecomment" class="button delete" type="submit" id="deletecomment" tabindex="10" value="<?php _e('Delete this comment') ?>" <?php echo "onclick=\"if ( confirm('" . js_escape(__("You are about to delete this comment. \n 'Cancel' to stop, 'OK' to delete.")) . "') ) { document.forms.post._wpnonce.value = '" . wp_create_nonce( 'delete-comment_' . $comment->comment_ID ) . "'; return true; } return false;\""; ?> />
<input type="hidden" name="c" value="<?php echo $comment->comment_ID ?>" />
<input type="hidden" name="p" value="<?php echo $comment->comment_post_ID ?>" />
<input type="hidden" name="noredir" value="1" />
@@ -20,12 +20,12 @@ function focusit() { // focus on first input field
<div id="poststuff">
<fieldset id="titlediv">
- <legend><a href="http://wordpress.org/docs/reference/post/#title" title="<?php _e('Help on titles') ?>"><?php _e('Title') ?></a></legend>
+ <legend><a href="http://wordpress.org/docs/reference/post/#title" title="<?php _e('Help on titles') ?>"><?php _e('Title') ?></a></legend>
<div><input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape( $post->post_title ); ?>" id="title" /></div>
</fieldset>
<fieldset id="categorydiv">
- <legend><a href="http://wordpress.org/docs/reference/post/#category" title="<?php _e('Help on categories') ?>"><?php _e('Categories') ?></a></legend>
+ <legend><a href="http://wordpress.org/docs/reference/post/#category" title="<?php _e('Help on categories') ?>"><?php _e('Categories') ?></a></legend>
<div><?php dropdown_categories($post->post_category); ?></div>
</fieldset>
@@ -71,7 +71,7 @@
if ($posts) {
?>
-<table class="widefat">
+<table class="widefat">
<thead>
<tr>
<th scope="col" style="text-align: center"><?php _e('ID') ?></th>
@@ -102,14 +102,14 @@
}
}
?>
- </tr>
+ </tr>
<?php
endwhile;
} else {
?>
- <tr style='background-color: <?php echo $bgcolor; ?>'>
- <td colspan="8"><?php _e('No posts found.') ?></td>
- </tr>
+ <tr style='background-color: <?php echo $bgcolor; ?>'>
+ <td colspan="8"><?php _e('No posts found.') ?></td>
+ </tr>
<?php
} // end if ( have_posts() )
?>
View
@@ -83,7 +83,7 @@
$h2_author = ' ' . __('by other authors');
} else {
$author_user = get_userdata( get_query_var( 'author' ) );
- $h2_author = ' ' . sprintf(__('by %s'), wp_specialchars( $author_user->display_name ));
+ $h2_author = ' ' . sprintf(__('by %s'), wp_specialchars( $author_user->display_name ));
}
}
$h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching &#8220;%s&#8221;'), wp_specialchars( get_search_query() ) ) : '';
@@ -94,11 +94,11 @@
?></h2>
<form name="searchform" id="searchform" action="" method="get">
- <fieldset><legend><?php _e('Search terms&hellip;'); ?></legend>
- <input type="text" name="s" id="s" value="<?php the_search_query(); ?>" size="17" />
+ <fieldset><legend><?php _e('Search terms&hellip;'); ?></legend>
+ <input type="text" name="s" id="s" value="<?php the_search_query(); ?>" size="17" />
</fieldset>
- <fieldset><legend><?php _e('Status&hellip;'); ?></legend>
+ <fieldset><legend><?php _e('Status&hellip;'); ?></legend>
<select name='post_status'>
<option<?php selected( @$_GET['post_status'], 0 ); ?> value='0'><?php _e('Any'); ?></option>
<?php foreach ( $post_stati as $status => $label ) : if ( !in_array($status, $avail_post_stati) ) continue; ?>
@@ -107,7 +107,7 @@
</select>
</fieldset>
-<?php
+<?php
$editable_ids = get_editable_user_ids( $user_ID );
if ( $editable_ids && count( $editable_ids ) > 1 ) :
?>
@@ -153,7 +153,7 @@
<fieldset><legend><?php _e('Category&hellip;') ?></legend>
<?php wp_dropdown_categories('show_option_all='.__('All').'&hide_empty=1&hierarchical=1&show_count=1&selected='.$cat);?>
</fieldset>
- <input type="submit" id="post-query-submit" value="<?php _e('Filter &#187;'); ?>" class="button" />
+ <input type="submit" id="post-query-submit" value="<?php _e('Filter &#187;'); ?>" class="button" />
</form>
<?php do_action('restrict_manage_posts'); ?>
@@ -919,7 +919,7 @@ function start_element($parser, $name, $attrs) {
array_push($this->in_content, "<". $this->ns_to_prefix($name) ."{$xmlns_str}{$attrs_str}");
} else if(in_array($tag, $this->ATOM_CONTENT_ELEMENTS) || in_array($tag, $this->ATOM_SIMPLE_ELEMENTS)) {
$this->in_content = array();
- $this->is_xhtml = $attrs['type'] == 'xhtml';
+ $this->is_xhtml = $attrs['type'] == 'xhtml';
array_push($this->in_content, array($tag,$this->depth));
} else if($tag == 'link') {
array_push($this->entry->links, $attrs);
@@ -935,7 +935,7 @@ function end_element($parser, $name) {
$tag = array_pop(split(":", $name));
if(!empty($this->in_content)) {
- if($this->in_content[0][0] == $tag &&
+ if($this->in_content[0][0] == $tag &&
$this->in_content[0][1] == $this->depth) {
array_shift($this->in_content);
if($this->is_xhtml) {
@@ -998,14 +998,14 @@ function ns_to_prefix($qname) {
}
}
}
- }
+ }
return $name;
}
function xml_escape($string)
{
- return str_replace(array('&','"',"'",'<','>'),
- array('&amp;','&quot;','&apos;','&lt;','&gt;'),
+ return str_replace(array('&','"',"'",'<','>'),
+ array('&amp;','&quot;','&apos;','&lt;','&gt;'),
$string );
}
}
@@ -109,19 +109,19 @@ function textconv ($s) {
**/
class Dotclear_Import {
- function header()
+ function header()
{
echo '<div class="wrap">';
echo '<h2>'.__('Import DotClear').'</h2>';
echo '<p>'.__('Steps may take a few minutes depending on the size of your database. Please be patient.').'</p>';
}
- function footer()
+ function footer()
{
echo '</div>';
}
- function greet()
+ function greet()
{
echo '<div class="narrow"><p>'.__('Howdy! This importer allows you to extract posts from a DotClear database into your blog. Mileage may vary.').'</p>';
echo '<p>'.__('Your DotClear Configuration settings are as follows:').'</p>';
@@ -357,9 +357,9 @@ function process_posts() {
$post->post_date = $date;
$post->post_date_gmt = $date_gmt;
} else if ( 'comment' == $context ) {
- $comment->comment_date = $date;
+ $comment->comment_date = $date;
} else if ( 'ping' == $context ) {
- $ping->comment_date = $date;
+ $ping->comment_date = $date;
}
} else if ( 0 === strpos($line, "EMAIL:") ) {
$email = trim( substr($line, strlen("EMAIL:")) );
@@ -19,7 +19,7 @@ function greet() {
echo '<p>'.__('To accommodate larger databases for those tag-crazy authors out there, we have made this into an easy 4-step program to help you kick that nasty Simple Tagging habit. Just keep clicking along and we will let you know when you are in the clear!').'</p>';
echo '<p><strong>'.__('Don&#8217;t be stupid - backup your database before proceeding!').'</strong></p>';
echo '<form action="admin.php?import=stp&amp;step=1" method="post">';
- wp_nonce_field('import-utw');
+ wp_nonce_field('import-utw');
echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 1 &raquo;').'" /></p>';
echo '</form>';
echo '</div>';
@@ -88,7 +88,7 @@ function import_posts ( ) {
}
echo '<form action="admin.php?import=stp&amp;step=2" method="post">';
- wp_nonce_field('import-utw');
+ wp_nonce_field('import-utw');
echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 2 &raquo;').'" /></p>';
echo '</form>';
echo '</div>';
@@ -107,7 +107,7 @@ function import_t2p ( ) {
echo '<p>' . sprintf( __('Done! <strong>%s</strong> tags where added!'), $tags_added ) . '<br /></p>';
echo '<form action="admin.php?import=stp&amp;step=3" method="post">';
- wp_nonce_field('import-utw');
+ wp_nonce_field('import-utw');
echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 3 &raquo;').'" /></p>';
echo '</form>';
echo '</div>';
@@ -139,7 +139,7 @@ function tag2post ( ) {
$tags_added = 0;
// loop through each post and add its tags to the db
- foreach ( $posts as $this_post ) {
+ foreach ( $posts as $this_post ) {
$the_post = (int) $this_post->post_id;
$the_tag = $wpdb->escape($this_post->tag_name);
@@ -26,14 +26,14 @@ function link_exists($linkname)
**/
class Textpattern_Import {
- function header()
+ function header()
{
echo '<div class="wrap">';
echo '<h2>'.__('Import Textpattern').'</h2>';
echo '<p>'.__('Steps may take a few minutes depending on the size of your database. Please be patient.').'</p>';
}
- function footer()
+ function footer()
{
echo '</div>';
}
@@ -104,12 +104,12 @@ function get_entries() {
if ( false !== strpos($importline, '<item>') ) {
$this->posts[$num] = '';
$doing_entry = true;
- continue;
+ continue;
}
if ( false !== strpos($importline, '</item>') ) {
$num++;
$doing_entry = false;
- continue;
+ continue;
}
if ( $doing_entry ) {
$this->posts[$num] .= $importline . "\n";
@@ -335,7 +335,7 @@ function process_post($post) {
$post_cats[] = $cat_ID;
}
wp_set_post_categories($post_id, $post_cats);
- }
+ }
}
// Now for comments
Oops, something went wrong. Retry.

0 comments on commit 321c310

Please sign in to comment.