first topic

Tagged: , , , ,

This topic contains 2 replies, has 1 voice, and was last updated by  sean 10 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #1364

    testing the forums

    here's a reply ... empty P tags coming from the bbpress php files are really destroying the layout... double line break this should get wpautop single line break? triple line break

    as i figured...
    remove_filter( 'the_content', 'wpautop', 10 );<br />
    remove_filter( 'the_excerpt', 'wpautop', 10 );<br />
    remove_filter( 'bbp_get_reply_content', 'wpautop', 40 );<br />
    remove_filter( 'bbp_get_topic_content', 'wpautop', 40 );

    is not removing the wautop nonsense that causes an html comment in something like loop-replies.php to get P tags around it because of double line breaks... but it's also not

    breaking the wanted functionality where a double line break

    in the forum reply editor gives us a new paragraph...

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

You must be logged in to reply to this topic.