Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-widgets.php

    r14924 r15220  
    550550        <ul>
    551551        <?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(); ?> </a></li>
     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>
    553553        <?php endwhile; ?>
    554554        </ul>
     
    738738        $icon = includes_url('images/rss.png');
    739739        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>";
    741741
    742742        echo $before_widget;
     
    10421042
    10431043    function _get_current_taxonomy($instance) {
    1044         if ( !empty($instance['taxonomy']) && is_taxonomy($instance['taxonomy']) )
     1044        if ( !empty($instance['taxonomy']) && taxonomy_exists($instance['taxonomy']) )
    10451045            return $instance['taxonomy'];
    10461046
     
    10731073            echo $args['before_title'] . $instance['title'] . $args['after_title'];
    10741074
    1075         wp_nav_menu( array( 'menu' => $nav_menu ) );
     1075        wp_nav_menu( array( 'fallback_cb' => '', 'menu' => $nav_menu ) );
    10761076
    10771077        echo $args['after_widget'];
Note: See TracChangeset for help on using the changeset viewer.