[wp-trac] [WordPress Trac] #20106: Escape links in get_the_term_list function

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 3 09:58:13 UTC 2012


#20106: Escape links in get_the_term_list function
--------------------------+--------------------
 Reporter:  alex-ye       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.4
Component:  Taxonomy      |     Version:  3.3.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by alex-ye):

 Replying to [comment:3 SergeyBiryukov]:
 > Well, there is `"term_links-$taxonomy"`, though I guess using it to
 escape the links would require `preg_replace()`.

 As you know using preg_replace() to do that it is not good to performance
 , If you know some cases that don't need to escape we can add a option (
 Function Var ) .

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20106#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list