Support » Fixing WordPress » Line breaks not rendered in comments

  • Line breaks are no longer rendered in comments after upgrading to 2.2 (no change in theme – MistyLook).

    I wonder if anyone came across this and if they know of a fix?

    Once confirmed by anyone else I can submit it to the bugs database.


Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter mahmood


    I would really appreciate the help with this issue, there is nothing worse than trying to read a comment that has no paragraph or line breaks!

    I’ve searched but came up with nothing so far. Please help if you could.

    For an example of what I am talking about, look at my blog at


    Same problem here.

    After upgrade to 2.2, line breaks no longer render in the comments. No other changes.

    Please help.

    Thread Starter mahmood


    I have completely removed all WP files and copied the distribution files afresh into the directory, ensured that all permissions and ownerships are okay, but the problem still persists.

    Can anyone help with this please?

    I am having the same problem, and apparently, nobody here has an answer.

    This has happened to all of my WordPress installations. I am surprised that there aren’t more people complaining about it, because it IS a friggin mess.

    What I noticed is that if you open up a comment to edit, and just save it, the comment will display properly. But who the hell wants to do that?


    There has just got to be more to this story. I have 3 at 2.2 and my comments are still fine.

    Are you all using similar/same themes?

    Does the problem persist if you try switching to the Default theme?

    Thread Starter mahmood


    It does persist if you switch to a default theme (yes I cleared the cache after I switched)

    [keep it in one thread – we can move it if you think you posted in the wrong forum; duplicate thread deleted]

    Any of you guys running the More Smilies plugin (or perhaps something similar)?

    I ask, based on this comment in another post:

    Thread Starter mahmood


    YES, I do!
    Thank you very much for the investigative work!

    Now we have to find another replacement for the smilies.

    It has to do with this code in More Smilies:

    # remove filters
    		remove_filter('comment_text', 'convert_smilies', 20);
    		remove_filter('the_content', 'convert_smilies');
    		remove_filter('the_excerpt', 'convert_smilies');
    		# add filters
    		add_filter('comment_text', array(&$this, 'convert_smilies'));
    		add_filter('the_content', array(&$this, 'convert_smilies'));
    		add_filter('the_excerpt', array(&$this, 'convert_smilies'));

    I don’t know how to fix it to shut off the comment text filter, if anyone can help that would be wonderful. I love this plugin but it’s not being supported by the author anymore.

    I’ve updated a web site to WP 2.2.1 and indeed, all line breaks in comments went missing, but they showed up again when I deactivated the More Smilies plugin.

    Anyone solved this problem, yet? (Besides uninstalling the plugin…)

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Line breaks not rendered in comments’ is closed to new replies.