~robotparade/wordpress/stable

« back to all changes in this revision

Viewing changes to wp-includes/default-widgets.php

  • Committer: Jeff Waugh
  • Date: 2010-06-11 21:00:40 UTC
  • Revision ID: jdub@bethesignal.org-20100611210040-9narx3kdlayc8x39
WordPress 3.0 RC3

Show diffs side-by-side

added added

removed removed

Lines of Context:
737
737
                $url = esc_url(strip_tags($url));
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;
743
743
                if ( $title )
1041
1041
        }
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
 
1047
1047
                return 'post_tag';