[wp-trac] Re: [WordPress Trac] #4731: Inline tags in title attribute for post permalinks not stripped

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 18 20:14:37 GMT 2007


#4731: Inline tags in title attribute for post permalinks not stripped
-----------------------------+----------------------------------------------
 Reporter:  tarmiziaffandi   |        Owner:  anonymous
     Type:  defect           |       Status:  new      
 Priority:  highest omg bbq  |    Milestone:  2.3      
Component:  Template         |      Version:  2.2.2    
 Severity:  normal           |   Resolution:           
 Keywords:  has-patch        |  
-----------------------------+----------------------------------------------
Comment (by ryan):

 Indeed, and it should use get_post_field with attribute as the context.
 Also, sanitize_post_field should issue attribute_* filters so we can
 attach strip_tags to attribute_post_field.

 We can do a less involved implementation for 2.3 that doesn't involve the
 filtering.

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


More information about the wp-trac mailing list