[wp-trac] [WordPress Trac] #18776: balanceTags should ignore shortcodes & their content
WordPress Trac
noreply at wordpress.org
Wed Oct 29 01:01:57 UTC 2014
#18776: balanceTags should ignore shortcodes & their content
-------------------------------------+-----------------------------
Reporter: ciantic | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Shortcodes | Version: 3.2.1
Severity: normal | Resolution:
Keywords: needs-patch 2nd-opinion | Focuses:
-------------------------------------+-----------------------------
Comment (by aaroncampbell):
I also thought we should have a test to make sure that
`something <b>[myshortcode]<b>[/myshortcode]` becomes
`something <b>[myshortcode]<b>[/myshortcode]</b>`
I added that in [attachment:18776.unit-test.2.diff] and also moved the
unit test and grouped it with the other balanceTags ones since that's what
we're really testing
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18776#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list