[wp-trac] [WordPress Trac] #6091: Recent Entries Widget should have a title attribute.

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 4 10:04:55 GMT 2008


#6091: Recent Entries Widget should have a title attribute.
---------------------+------------------------------------------------------
 Reporter:  topncal  |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  2.5      
Component:  General  |     Version:  2.3.3    
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 The recent entries widget should be reformatted to include a title
 attribute in the hyperlink.

 Line 880 of /wp-includes/widgets.php should be changed from.


 {{{
 <li><a href="<?php the_permalink() ?>"><?php if ( get_the_title() )
 the_title(); else the_ID(); ?> </a></li>
 }}}

 to


 {{{
 <li><a href="<?php the_permalink() ?>" title="<?php if ( get_the_title() )
 the_title(); else the_ID(); ?>"><?php if ( get_the_title() ) the_title();
 else the_ID(); ?> </a></li>
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6091>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list