• the_enn

    (@the_enn)


    I’ve been researching an issue where upon returning content from a custom shortcode, WP is auto-adding leading p tags in front of an img tag. I used remove_filter on wpautop in functions.php with a 99 priority, but still the issue is happening.

    I disabled all plugins one by one and discovered that this plugin was doing the reformatting. I like this plugin a lot btw, but I do need to get the auto-formatting issue fixed.

    Can you please advise on how to do this? Thanks…

    Using the 2.2 version of the plugin…

    https://wordpress.org/plugins/wp-d3/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ruben

    (@figurebelow)

    Hi,

    The latest version (2.3) of the wp-d3 plugin should fix this.
    Can you confirm it actually does? 🙂
    Thanks!

    Thread Starter the_enn

    (@the_enn)

    Hi,

    I deleted the 2.2 version entirely from the site and uploaded 2.3, but am still seeing the wpautop issue take place unless I put this in my theme functions.php:

    remove_filter( ‘the_content’, ‘wpautop’, 90);

    same problem here – took us an hour to isolate this plugin was the cause of it. thanks for the headsup the_enn – the remove wpautop filter doesn’t work without the ’90’ in it.

    fyi, problem still exists in Version 2.3

    Unfortunately, this bug still exists in version 2.4: There are generated empty p tags “<p></p>” on pages that uses other plugins if this plugin is activated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin reformatting unrelated shortcode output with wpautop’ is closed to new replies.