Home Forums Bug Reports Update to WP 4.8.1 causing double tags


Update to WP 4.8.1 causing double tags

  • We are using an ACF WYSIWYG field and outputting this using the usual get_field() command.

    After updating to WP 4.8.1, the get_field() command is doubling all <br> tags.

    For example, the html in our ACF WYSIWYG field is as follows:

    <p>Hello world<br>another row…</p>

    get_field() outputs the following:

    <p>Hello world<br><br>another row…</p>

    The same problem occurs with ACF text fields even when the formatting option is turned to off.

    Currently, the only setting that works properly is text field -> convert html tags.

    Please check and let us know if you have a workaround.

    Many thanks,

  • Hi @richardtinkler

    I can’t be sure what the issue is, but I wanted to let you know that I have a clean install of WordPress Version 4.8.1 with ACF Pro Version 5.6.1 and everything worked OK for me.

    Check out the screenshots below:

    It might be another plugin affecting the output perhaps?

    Have you tried the default WP theme, or perhaps deactivating plugins?

    Let me know if I can help further, I am subscribed to this thread so I will get email alerts with your replies.

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

The topic ‘Update to WP 4.8.1 causing double tags’ is closed to new replies.