Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@btb
Copy link

@btb btb commented Oct 28, 2024

Adding the wpautop filter where it wouldn't be normally used, or changing its priority, will causes extraneous paragraph and line break tags to be inserted into already rendered elements from plugins, etc. leading to breakage in unpredictable ways, see #78

Wordpress adds these filters by default, in the correct order to make sure that rendered elements don't get unwanted tags added to them. Note that the "content" of shortcodes isn't excluded and will still get these tags where appropriate.

This just returns the UW theme to using that default filtering. I wasn't able to see any change in the appearance of the UW shortcodes.

Wordpress adds these filters by default, in the correct order to make
sure that rendered shortcodes don't get unwanted tags added
to them. Note that the "content" of shortcodes isn't excluded and
will still get these tags where appropriate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant