]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-admin/admin-footer.php
WordPress 3.7.2
[autoinstalls/wordpress.git] / wp-admin / admin-footer.php
1 <?php
2 /**
3  * WordPress Administration Template Footer
4  *
5  * @package WordPress
6  * @subpackage Administration
7  */
8
9 // don't load directly
10 if ( !defined('ABSPATH') )
11         die('-1');
12 ?>
13
14 <div class="clear"></div></div><!-- wpbody-content -->
15 <div class="clear"></div></div><!-- wpbody -->
16 <div class="clear"></div></div><!-- wpcontent -->
17
18 <div id="wpfooter">
19         <?php
20         /**
21          * Fires after the opening tag for the admin footer.
22          *
23          * @since 2.5.0
24          */
25         do_action( 'in_admin_footer' );
26         ?>
27         <p id="footer-left" class="alignleft">
28                 <?php
29                 /**
30                  * Filter the "Thank you" text displayed in the admin footer.
31                  *
32                  * @since 2.8.0
33                  * @param string The content that will be printed.
34                  */
35                 echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>' );
36                 ?>
37         </p>
38         <p id="footer-upgrade" class="alignright">
39                 <?php
40                 /**
41                  * Filter the version/update text displayed in the admin footer.
42                  *
43                  * @see core_update_footer() WordPress prints the current version and update information,
44                  *      using core_update_footer() at priority 10.
45                  *
46                  * @since 2.3.0
47                  * @param string The content that will be printed.
48                  */
49                 echo apply_filters( 'update_footer', '' );
50                 ?>
51         </p>
52         <div class="clear"></div>
53 </div>
54 <?php
55 /**
56  * Print scripts or data before the default footer scripts.
57  *
58  * @since 1.2.0
59  * @param string The data to print.
60  */
61 do_action('admin_footer', '');
62
63 /**
64  * Prints any scripts and data queued for the footer.
65  *
66  * @since 2.8.0
67  */
68 do_action('admin_print_footer_scripts');
69
70 /**
71  * Print scripts or data after the default footer scripts.
72  *
73  * @since 2.8.0
74  *
75  * @param string $GLOBALS['hook_suffix'] The current admin page.
76  */
77 do_action("admin_footer-" . $GLOBALS['hook_suffix']);
78
79 // get_site_option() won't exist when auto upgrading from <= 2.7
80 if ( function_exists('get_site_option') ) {
81         if ( false === get_site_option('can_compress_scripts') )
82                 compression_test();
83 }
84
85 ?>
86
87 <div class="clear"></div></div><!-- wpwrap -->
88 <script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
89 </body>
90 </html>