- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/default-widgets.php
r14924 r15220 550 550 <ul> 551 551 <?php while ($r->have_posts()) : $r->the_post(); ?> 552 <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(); ?> 552 <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> 553 553 <?php endwhile; ?> 554 554 </ul> … … 738 738 $icon = includes_url('images/rss.png'); 739 739 if ( $title ) 740 $title = "<a class='rsswidget' href='$url' title='" . esc_attr (__('Syndicate this content')) ."'><img style='background:orange;color:white;border:none;' width='14' height='14' src='$icon' alt='RSS' /></a> <a class='rsswidget' href='$link' title='$desc'>$title</a>";740 $title = "<a class='rsswidget' href='$url' title='" . esc_attr__( 'Syndicate this content' ) ."'><img style='border:0' width='14' height='14' src='$icon' alt='RSS' /></a> <a class='rsswidget' href='$link' title='$desc'>$title</a>"; 741 741 742 742 echo $before_widget; … … 1042 1042 1043 1043 function _get_current_taxonomy($instance) { 1044 if ( !empty($instance['taxonomy']) && is_taxonomy($instance['taxonomy']) )1044 if ( !empty($instance['taxonomy']) && taxonomy_exists($instance['taxonomy']) ) 1045 1045 return $instance['taxonomy']; 1046 1046 … … 1073 1073 echo $args['before_title'] . $instance['title'] . $args['after_title']; 1074 1074 1075 wp_nav_menu( array( ' menu' => $nav_menu ) );1075 wp_nav_menu( array( 'fallback_cb' => '', 'menu' => $nav_menu ) ); 1076 1076 1077 1077 echo $args['after_widget'];
Note: See TracChangeset
for help on using the changeset viewer.