Make WordPress Core


Ignore:
Timestamp:
08/01/2014 05:04:30 PM (12 years ago)
Author:
helen
Message:

Remove remaining title attributes from default-widgets.php, with the exception of the one on the link to WordPress.org. fixes #26552.

File:
1 edited

Legend:

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

    r29241 r29338  
    386386                        <?php wp_register(); ?>
    387387                        <li><?php wp_loginout(); ?></li>
    388                         <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>
    389                         <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>
     388                        <li><a href="<?php bloginfo('rss2_url'); ?>"><?php _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
     389                        <li><a href="<?php bloginfo('comments_rss2_url'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
    390390<?php
    391391                        /**
     
    970970                $icon = includes_url('images/rss.png');
    971971                if ( $title )
    972                         $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>";
     972                        $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>";
    973973
    974974                echo $args['before_widget'];
     
    10911091                        echo "<li><a class='rsswidget' href='$link'>$title</a>{$date}{$summary}{$author}</li>";
    10921092                } else {
    1093                         echo "<li><a class='rsswidget' href='$link' title='$desc'>$title</a>{$date}{$author}</li>";
     1093                        echo "<li><a class='rsswidget' href='$link'>$title</a>{$date}{$author}</li>";
    10941094                }
    10951095        }
Note: See TracChangeset for help on using the changeset viewer.