Did you ever find the solution? (even from all categories)
Replaced
if(get_post_meta($this_post_id, 'anonPost', true) == 'true'){
//...
}
else{
return get_the_content();
}
with
if(get_post_meta($this_post_id, 'anonPost', true) == 'true'){
//...
}
else{
return wpautop(get_the_content());
}
In Anon Post
It works now, but i am not sure if it is the best option.
Oh, wait a second… i must apologize. I actually had Anon Posting plugin activated (somehow i didn’t notice that) – disabling it fixes the problem. I’ll try to investigate it.
I cannot do that, unfortunately, because i’m running it locally, but I can try to provide some additional information.
Btw, I also tried to do smth like <?php wpautop(the_content())' ?> mannually – that doesn’t work either.