WordPress.org

Make WordPress Core

Changeset 21366


Ignore:
Timestamp:
07/30/12 19:37:51 (21 months ago)
Author:
nacin
Message:

Improve code readability and execution in admin-footer by removing a now-unnecessary implode(). props TobiasBg, fixes #21422.

File:
1 edited

Legend:

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

    r18888 r21366  
    1919<?php do_action( 'in_admin_footer' ); ?> 
    2020<p id="footer-left" class="alignleft"><?php 
    21 $upgrade = apply_filters( 'update_footer', '' ); 
    22 $footer_text = array( 
    23     '<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>', 
    24 ); 
    25 echo apply_filters( 'admin_footer_text', implode( ' &bull; ', $footer_text ) ); 
    26 unset( $footer_text ); 
     21echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>' ); 
    2722?></p> 
    28 <p id="footer-upgrade" class="alignright"><?php echo $upgrade; ?></p> 
     23<p id="footer-upgrade" class="alignright"><?php echo apply_filters( 'update_footer', '' ); ?></p> 
    2924<div class="clear"></div> 
    3025</div> 
Note: See TracChangeset for help on using the changeset viewer.