Support » Fixing WordPress » [solution]Paragraph line breaks bug.

  • I saw a lot of posts about ppl having problem with the Paragraph not being converted correctly or change it to <br>.
    Here’s 1 quick little solution:

    open wp-includes/post-template.php

    find line 57: echo $content;

    replace with: echo nl2br($content);

    Hope this helps.


Viewing 3 replies - 1 through 3 (of 3 total)
  • Nope doesn’t do a thing…

    Worked for me, thanks, except it was line 79.

    I’ve got no idea what caused my paragraph breaks to suddenly disappear. I disabled recent plugins and tried stylesheet changes, but nothing worked until I read this post.

    This worked like a charm.

    Weird thing was, I have all three of my WP sites set up the same way with the same versions and only one was having this problem. Theme issue??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[solution]Paragraph line breaks bug.’ is closed to new replies.