[wp-trac] [WordPress Trac] #15046: places where the_title is used instead of the_title_attribute

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 6 08:43:11 UTC 2010


#15046: places where the_title is used instead of the_title_attribute
--------------------------+-------------------------------------------------
 Reporter:  drzraf        |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:                 
 Severity:  minor         |    Keywords:                 
--------------------------+-------------------------------------------------

Comment(by nacin):

 I'm not sure of the purpose of get_the_author() to using the author meta
 function, but the use of the_title_attribute there looks sane.

 Only thing is, we'll want to remove our esc_attr(). Also, maybe we take
 all of that logic (the anchor text too) and make it less redundant, that
 way we're not calling it so many times.

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


More information about the wp-trac mailing list