WordPress.org

Make WordPress Core

Changeset 23424


Ignore:
Timestamp:
02/15/2013 04:20:14 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Filter "Powered by WordPress" text in Meta widget. props Viper007Bond, wonderboymusic. fixes #14358.

File:
1 edited

Legend:

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

    r23416 r23424  
    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 echo esc_url( __( '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                _x( 'WordPress.org', 'meta widget link text' )
     322            ) ); ?>
    322323            <?php wp_meta(); ?>
    323324            </ul>
Note: See TracChangeset for help on using the changeset viewer.