Ticket #21422: admin-footer-micro-optimization.patch
File admin-footer-micro-optimization.patch, 1.0 KB (added by , 13 years ago) |
---|
-
wp-admin/admin-footer.php
18 18 <div id="footer"> 19 19 <?php do_action( 'in_admin_footer' ); ?> 20 20 <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( ' • ', $footer_text ) ); 26 unset( $footer_text ); 21 echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>' ); 27 22 ?></p> 28 <p id="footer-upgrade" class="alignright"><?php echo $upgrade; ?></p> 23 <p id="footer-upgrade" class="alignright"><?php 24 echo apply_filters( 'update_footer', '' ); 25 ?></p> 29 26 <div class="clear"></div> 30 27 </div> 31 28 <?php