WordPress.org

Make WordPress Core

Ticket #14358: 14358.diff

File 14358.diff, 1.3 KB (added by wonderboymusic, 8 years ago)
  • wp-includes/default-widgets.php

     
    315315                        <li><?php wp_loginout(); ?></li>
    316316                        <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>
    317317                        <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>
    318                         <li><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>" title="<?php echo esc_attr(__('Powered by WordPress, state-of-the-art semantic personal publishing platform.')); ?>"><?php
    319                         /* translators: meta widget link text */
    320                         _e( 'WordPress.org' );
    321                         ?></a></li>
     318                        <?php echo apply_filters( 'widget_meta_poweredby', sprintf( '<li><a href="%s" title="%s">%s</li>',
     319                                esc_url( 'http://wordpress.org/' ),
     320                                esc_attr( __( 'Powered by WordPress, state-of-the-art semantic personal publishing platform.' ) ),
     321                                __( 'WordPress.org' )
     322                        ) ) ?>
    322323                        <?php wp_meta(); ?>
    323324                        </ul>
    324325<?php