[wp-trac] [WordPress Trac] #19028: make_clickable fails when <a ...> contains \r characters
WordPress Trac
wp-trac at lists.automattic.com
Sat Oct 22 07:52:42 UTC 2011
#19028: make_clickable fails when <a ...> contains \r characters
-------------------------------------+------------------------------
Reporter: josepsanzcamp | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 3.2.1
Severity: minor | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------------------
Comment (by josepsanzcamp):
I apply the patch in the line 1386 of the formatting.php (wp v3.2.1) and
runs fine. It produce the expected result. For me, the issue is fixed
correctly.
Another issue related to the same use: I'm using the make_clickable in my
app without wordpress. To do this, I copied the files needed
(formatting.php, plugin.php and kses.php) because I want to use the
original files provided by the wp project directly by maintenance reasons.
I detect too that if I define a function that do the requires_once of the
needed files inside the function, too I must to do globals the follow
variables: $allowedposttags, $allowedtags, $allowedentitynames. You can
think of a solution that don't uses global variables to allow a more
easily of code recycling.
Thanks for your great job.
Josep.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19028#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list