[wp-trac] [WordPress Trac] #17571: bad double quote replacement in wp_texturize
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 3 21:36:58 UTC 2012
#17571: bad double quote replacement in wp_texturize
------------------------------------------+------------------------------
Reporter: csanquer | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: minor | Resolution:
Keywords: needs-patch needs-unit-tests |
------------------------------------------+------------------------------
Changes (by kurtpayne):
* keywords: has-patch needs-unit-tests => needs-patch needs-unit-tests
Comment:
Patch is no longer valid for 3.4.0. This was invalidated by #19602. The
example string:
{{{
"<a href="http://example.com">123</a>"
}}}
Is broken down to:
{{{
Array
(
[0] => "
[1] => <a href="http://example.com">
[2] => 123
[3] => </a>
[4] => "
)
}}}
The beginning and ending quote are treated equally by the replacement
regexes, so they both come out as an opening curly quote.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17571#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list