Changes between Initial Version and Version 1 of Ticket #14050, comment 34
- Timestamp:
- 02/15/2015 02:32:50 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14050, comment 34
initial v1 1 Please take a look at this solution: https://github.com/szepeviktor/wordpress-plugin-construction/blob/master/mu-shortcode-unautop/shortcode-unautop.php 2 3 It seems to me that it addresses the issue of nested shortcodes not having their `<p>` tags removed - at least the problem that led me here is resolved by replacing the regex in `shortcode_unautop()` with the one in that file, though it doesn't look to my un-regex-experienced eyes as though it tackles `<br>` tags. 1 Edit: I had orignally commented that szepe.viktor's mu-plugin regex worked for me without realising that it was Ikraav's work and had already been tested. Don't mind me.