WordPress.org

Make WordPress Core

Ticket #8676: 8676.diff

File 8676.diff, 1.7 KB (added by DD32, 6 years ago)
  • wp-admin/admin-footer.php

     
    1515<div id="footer"> 
    1616<p id="footer-left" class="alignleft"><?php 
    1717do_action( 'in_admin_footer' ); 
    18 $upgrade = apply_filters( 'update_footer', '' ); 
    19 echo '<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>').' | '.__('<a href="http://wordpress.org/support/forum/4">Feedback</a>'); ?> 
     18echo '<span id="footer-wp-links"><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>').' | '.__('<a href="http://wordpress.org/support/forum/4">Feedback</a>').'</span>'; ?> 
    2019</p> 
    2120<?php // if ( $is_IE ) browse_happy(); ?> 
    22 <p id="footer-upgrade" class="alignright"><?php echo $upgrade; ?></p> 
     21<p id="footer-upgrade" class="alignright"><?php echo apply_filters( 'update_footer', '' ); ?></p> 
    2322<div class="clear"></div> 
    2423</div> 
    2524<?php do_action('admin_footer', ''); ?> 
  • wp-admin/includes/update.php

     
    8383 
    8484function core_update_footer( $msg = '' ) { 
    8585        if ( !current_user_can('manage_options') ) 
    86                 return sprintf( '| '.__( 'Version %s' ), $GLOBALS['wp_version'] ); 
     86                return sprintf( __( 'Version %s' ), $GLOBALS['wp_version'] ); 
    8787 
    8888        $cur = get_preferred_from_update_core(); 
    8989        if ( ! isset( $cur->current ) )