[wp-trac] [WordPress Trac] #16463: the_title_attribute() bug

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 5 13:29:10 UTC 2011


#16463: the_title_attribute() bug
-------------------------------+------------------------------
 Reporter:  facemann_ru        |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Template           |     Version:  3.0.4
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by garyc40):

 Replying to [comment:2 dd32]:
 > This function is designed to be used in this context:
 > {{{
 > <a href="" title="<?php the_title_attribute(); ?>">
 > }}}
 > In that context, HTML is invalid and should be striped from the output.

 Then I think the example in the documentation needs to be revised:

 http://codex.wordpress.org/Function_Reference/the_title_attribute

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


More information about the wp-trac mailing list