Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r14233 r18147  
    1515<div class="clear"></div></div><!-- wpbody -->
    1616<div class="clear"></div></div><!-- wpcontent -->
    17 </div><!-- wpwrap -->
    1817
    1918<div id="footer">
     19<?php do_action( 'in_admin_footer' ); ?>
    2020<p id="footer-left" class="alignleft"><?php
    21 do_action( 'in_admin_footer' );
    2221$upgrade = apply_filters( 'update_footer', '' );
    23 echo apply_filters( 'admin_footer_text', '<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>') ); ?>
    24 </p>
     22$footer_text = array(
     23    '<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>',
     24    __( '<a href="http://codex.wordpress.org/">Documentation</a>' ),
     25    sprintf( __( '<a href="%s">Freedoms</a>' ), admin_url( 'freedoms.php' ) ),
     26    __('<a href="http://wordpress.org/support/forum/4">Feedback</a>'),
     27    sprintf(__('<a href="%s">Credits</a>'), admin_url('credits.php') ),
     28);
     29echo apply_filters( 'admin_footer_text', implode( ' &bull; ', $footer_text ) );
     30unset( $footer_text );
     31?></p>
    2532<p id="footer-upgrade" class="alignright"><?php echo $upgrade; ?></p>
    2633<div class="clear"></div>
     
    3946?>
    4047
     48<div class="clear"></div></div><!-- wpwrap -->
    4149<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
    4250</body>
Note: See TracChangeset for help on using the changeset viewer.