Exclude link tags from internationalized strings in Credits and Freedoms links in the admin footer
git-svn-id: https://develop.svn.wordpress.org/trunk@18529 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c273e4949f
commit
7ce4b9b44d
|
@ -22,9 +22,9 @@ $upgrade = apply_filters( 'update_footer', '' );
|
|||
$footer_text = array(
|
||||
'<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>',
|
||||
__( '<a href="http://codex.wordpress.org/">Documentation</a>' ),
|
||||
sprintf( __( '<a href="%s">Freedoms</a>' ), admin_url( 'freedoms.php' ) ),
|
||||
sprintf( '<a href="%s">' . __( 'Freedoms' ) . '</a>', admin_url( 'freedoms.php' ) ),
|
||||
__('<a href="http://wordpress.org/support/forum/4">Feedback</a>'),
|
||||
sprintf(__('<a href="%s">Credits</a>'), admin_url('credits.php') ),
|
||||
sprintf( '<a href="%s">' . __('Credits') . '</a>', admin_url('credits.php') ),
|
||||
);
|
||||
echo apply_filters( 'admin_footer_text', implode( ' • ', $footer_text ) );
|
||||
unset( $footer_text );
|
||||
|
|
Loading…
Reference in New Issue