[wp-trac] [WordPress Trac] #17562: esc_url() printed by the_permalink()
WordPress Trac
wp-trac at lists.automattic.com
Wed May 25 23:07:34 UTC 2011
#17562: esc_url() printed by the_permalink()
-------------------------+------------------------------------
Reporter: mfields | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Template | Version: 3.2
Severity: normal | Keywords: has-patch dev-feedback
-------------------------+------------------------------------
Using Mark Jaquith's rule of escaping output as late as possible, I
believe that it would be correct to use esc_url() on the output of
the_permalink. It may be helpful in correcting mistakes in plugins that
use the "the_permalink" filter as well.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17562>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list