WP4.7 – wpautop is not working after update
-
Hi,
We host a large number of WordPress websites.
Since the update to WordPress version 4.7 no automatic paragraphs, breaks etc. are added.
Basically, all text is ‘glued’ together.In the editor all text shows up fine, but when previewing the page, no <p>, <br /> etc. are added.
My first guess is that wpautop is somehow not added to the the_content() function.
As a test I tried echoing the content using:
$content = get_the_content();
$content = apply_filters( ‘the_content’, $content );echo wpautop( $content );
Then, the paragraphs are added correctly.
Is this a new / know bug / problem?
Thanks for your swift reply.
With kind regards,
Birger
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘WP4.7 – wpautop is not working after update’ is closed to new replies.