Make WordPress Core

Changeset 18529


Ignore:
Timestamp:
08/11/2011 04:33:22 AM (14 years ago)
Author:
nbachiyski
Message:

Exclude link tags from internationalized strings in Credits and Freedoms links in the admin footer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-footer.php

    r18147 r18529  
    2323    '<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>',
    2424    __( '<a href="http://codex.wordpress.org/">Documentation</a>' ),
    25     sprintf( __( '<a href="%s">Freedoms</a>' ), admin_url( 'freedoms.php' ) ),
     25    sprintf( '<a href="%s">' . __( 'Freedoms' ) . '</a>', admin_url( 'freedoms.php' ) ),
    2626    __('<a href="http://wordpress.org/support/forum/4">Feedback</a>'),
    27     sprintf(__('<a href="%s">Credits</a>'), admin_url('credits.php') ),
     27    sprintf( '<a href="%s">' . __('Credits') . '</a>', admin_url('credits.php') ),
    2828);
    2929echo apply_filters( 'admin_footer_text', implode( ' &bull; ', $footer_text ) );
Note: See TracChangeset for help on using the changeset viewer.