Ticket #6091: 6091.diff
| File 6091.diff, 733 bytes (added by , 17 years ago) |
|---|
-
wp-includes/default-widgets.php
542 542 <?php if ( $title ) echo $before_title . $title . $after_title; ?> 543 543 <ul> 544 544 <?php while ($r->have_posts()) : $r->the_post(); ?> 545 <li><a href="<?php the_permalink() ?>" ><?php if ( get_the_title() ) the_title(); else the_ID(); ?> </a></li>545 <li><a href="<?php the_permalink() ?>" title="<?php echo esc_attr(get_the_title() ? get_the_title() : get_the_ID()); ?>"><?php if ( get_the_title() ) the_title(); else the_ID(); ?> </a></li> 546 546 <?php endwhile; ?> 547 547 </ul> 548 548 <?php echo $after_widget; ?>