Improve code readability and execution in admin-footer by removing a now-unnecessary implode(). props TobiasBg, fixes #21422.
git-svn-id: https://develop.svn.wordpress.org/trunk@21366 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2ddc4706aa
commit
48d6a65250
@ -18,14 +18,9 @@ if ( !defined('ABSPATH') )
|
|||||||
<div id="footer">
|
<div id="footer">
|
||||||
<?php do_action( 'in_admin_footer' ); ?>
|
<?php do_action( 'in_admin_footer' ); ?>
|
||||||
<p id="footer-left" class="alignleft"><?php
|
<p id="footer-left" class="alignleft"><?php
|
||||||
$upgrade = apply_filters( 'update_footer', '' );
|
echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>' );
|
||||||
$footer_text = array(
|
|
||||||
'<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>',
|
|
||||||
);
|
|
||||||
echo apply_filters( 'admin_footer_text', implode( ' • ', $footer_text ) );
|
|
||||||
unset( $footer_text );
|
|
||||||
?></p>
|
?></p>
|
||||||
<p id="footer-upgrade" class="alignright"><?php echo $upgrade; ?></p>
|
<p id="footer-upgrade" class="alignright"><?php echo apply_filters( 'update_footer', '' ); ?></p>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
Loading…
Reference in New Issue
Block a user