]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-admin/admin-footer.php
WordPress 4.2.4-scripts
[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" role="contentinfo">
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                 $text = sprintf( __( 'Thank you for creating with <a href="%s">WordPress</a>.' ), __( 'https://wordpress.org/' ) );
30                 /**
31                  * Filter the "Thank you" text displayed in the admin footer.
32                  *
33                  * @since 2.8.0
34                  *
35                  * @param string $text The content that will be printed.
36                  */
37                 echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . $text . '</span>' );
38                 ?>
39         </p>
40         <p id="footer-upgrade" class="alignright">
41                 <?php
42                 /**
43                  * Filter the version/update text displayed in the admin footer.
44                  *
45                  * WordPress prints the current version and update information,
46                  * using core_update_footer() at priority 10.
47                  *
48                  * @since 2.3.0
49                  *
50                  * @see core_update_footer()
51                  *
52                  * @param string $content The content that will be printed.
53                  */
54                 echo apply_filters( 'update_footer', '' );
55                 ?>
56         </p>
57         <div class="clear"></div>
58 </div>
59 <?php
60 /**
61  * Print scripts or data before the default footer scripts.
62  *
63  * @since 1.2.0
64  *
65  * @param string $data The data to print.
66  */
67 do_action( 'admin_footer', '' );
68
69 /**
70  * Prints any scripts and data queued for the footer.
71  *
72  * @since 2.8.0
73  */
74 do_action( 'admin_print_footer_scripts' );
75
76 /**
77  * Print scripts or data after the default footer scripts.
78  *
79  * The dynamic portion of the hook name, `$GLOBALS['hook_suffix']`,
80  * refers to the global hook suffix of the current page.
81  *
82  * @since 2.8.0
83  *
84  * @param string $hook_suffix The current admin page.
85  */
86 do_action( "admin_footer-" . $GLOBALS['hook_suffix'] );
87
88 // get_site_option() won't exist when auto upgrading from <= 2.7
89 if ( function_exists('get_site_option') ) {
90         if ( false === get_site_option('can_compress_scripts') )
91                 compression_test();
92 }
93
94 ?>
95
96 <div class="clear"></div></div><!-- wpwrap -->
97 <script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
98 </body>
99 </html>