Remove remaining title attributes from default-widgets.php, with the exception of the one on the link to WordPress.org. fixes #26552.
git-svn-id: https://develop.svn.wordpress.org/trunk@29338 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d83ac79c38
commit
758b290d02
@ -385,8 +385,8 @@ class WP_Widget_Meta extends WP_Widget {
|
||||
<ul>
|
||||
<?php wp_register(); ?>
|
||||
<li><?php wp_loginout(); ?></li>
|
||||
<li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php echo esc_attr(__('Syndicate this site using RSS 2.0')); ?>"><?php _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
|
||||
<li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php echo esc_attr(__('The latest comments to all posts in RSS')); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
|
||||
<li><a href="<?php bloginfo('rss2_url'); ?>"><?php _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
|
||||
<li><a href="<?php bloginfo('comments_rss2_url'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
|
||||
<?php
|
||||
/**
|
||||
* Filter the "Powered by WordPress" text in the Meta widget.
|
||||
@ -969,7 +969,7 @@ class WP_Widget_RSS extends WP_Widget {
|
||||
$url = esc_url(strip_tags($url));
|
||||
$icon = includes_url('images/rss.png');
|
||||
if ( $title )
|
||||
$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>";
|
||||
$title = "<a class='rsswidget' href='$url'><img style='border:0' width='14' height='14' src='$icon' alt='RSS' /></a> <a class='rsswidget' href='$link'>$title</a>";
|
||||
|
||||
echo $args['before_widget'];
|
||||
if ( $title ) {
|
||||
@ -1090,7 +1090,7 @@ function wp_widget_rss_output( $rss, $args = array() ) {
|
||||
} elseif ( $show_summary ) {
|
||||
echo "<li><a class='rsswidget' href='$link'>$title</a>{$date}{$summary}{$author}</li>";
|
||||
} else {
|
||||
echo "<li><a class='rsswidget' href='$link' title='$desc'>$title</a>{$date}{$author}</li>";
|
||||
echo "<li><a class='rsswidget' href='$link'>$title</a>{$date}{$author}</li>";
|
||||
}
|
||||
}
|
||||
echo '</ul>';
|
||||
|
Loading…
Reference in New Issue
Block a user