[wp-trac] [WordPress Trac] #12061: Treatment of shortcodes by wpautop is incomplete
WordPress Trac
noreply at wordpress.org
Wed Oct 29 19:56:12 UTC 2014
#12061: Treatment of shortcodes by wpautop is incomplete
------------------------------------------------+--------------------------
Reporter: gcorne | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
Component: Shortcodes | Release
Severity: normal | Version:
Keywords: wpautop has-patch needs-unit-tests | Resolution:
| Focuses:
------------------------------------------------+--------------------------
Changes (by aaroncampbell):
* keywords: wpautop has-patch => wpautop has-patch needs-unit-tests
Comment:
I prefer the less convoluted sounding "unautop_shortcodes" but
[attachment:12061.2.diff] had some PHP notices and didn't work.
[attachment:12061.3.diff] is an update of that which works as expected.
I'd like to see unit tests for this too, but they need to be pretty simple
since unautop doesn't work quite right and I don't want a fix for #14050
to invalidate our tests here. I'll try to add some in a little bit if no
one beats me to it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12061#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list