Title: bitspan's Replies | WordPress.org

---

# bitspan

  [  ](https://wordpress.org/support/users/bitspan/)

 *   [Profile](https://wordpress.org/support/users/bitspan/)
 *   [Topics Started](https://wordpress.org/support/users/bitspan/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bitspan/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bitspan/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bitspan/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bitspan/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bitspan/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Add Category not refreshing list; error deleting category](https://wordpress.org/support/topic/add-category-not-refreshing-list-error-deleting-category/)
 *  [bitspan](https://wordpress.org/support/users/bitspan/)
 * (@bitspan)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/add-category-not-refreshing-list-error-deleting-category/#post-1705552)
 * I found a solution to this: one of my plugins was echoing an empty line.
 * The problem was that it looked like this:
 *     ```
       <?php
       /*
       Plugin Name: Custom Links
       etc.
       */
       ?>
   
       <?php
       class MyClassName
       etc.
       ```
   
 * As you can see, there was a closing statement for php processor (?>) followed
   by an empty line and an opening statement <?php.
 * This empty line confused WordPress. Once I removed it, everything started working
   OK.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Passing an argument to add_filter](https://wordpress.org/support/topic/passing-an-argument-to-add_filter/)
 *  [bitspan](https://wordpress.org/support/users/bitspan/)
 * (@bitspan)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/passing-an-argument-to-add_filter/#post-1734927)
 * mmond, this is how I “solved” it:
 * $func = create_function(‘$content’, ‘return ‘.$param.’ . $content;’);
    add_filter(“
   the_content”, $func);
 * However, $param needs to be properly escaped for this to work.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to migrate certain posts and comments from one blog to another?](https://wordpress.org/support/topic/how-to-migrate-certain-posts-and-comments-from-one-blog-to-another/)
 *  Thread Starter [bitspan](https://wordpress.org/support/users/bitspan/)
 * (@bitspan)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/how-to-migrate-certain-posts-and-comments-from-one-blog-to-another/#post-1829896)
 * Thanks, that’s exactly what I was looking for!

Viewing 3 replies - 1 through 3 (of 3 total)