Is shortcode_unautop() broken?

It seems the function is broken. The issue is in trac: https://core.trac.wordpress.org/ticket/14050

I am using this to solve the problem temporarily: https://core.trac.wordpress.org/attachment/ticket/14050/plugin.php . This code still fails some of the tests used, but it completely resolves the issue I described, so I will use it unless I find something practical that it breaks.

Leave a Comment