PageRenderTime 29ms CodeModel.GetById 23ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/wp-admin/admin-footer.php

https://bitbucket.org/devbctph/futura_wp
PHP | 112 lines | 39 code | 10 blank | 63 comment | 3 complexity | d654eec8adacac1410b17fd67b81da10 MD5 | raw file
  1<?php
  2/**
  3 * WordPress Administration Template Footer
  4 *
  5 * @package WordPress
  6 * @subpackage Administration
  7 */
  8
  9// don't load directly
 10if ( !defined('ABSPATH') )
 11	die('-1');
 12
 13/**
 14 * @global string $hook_suffix
 15 */
 16global $hook_suffix;
 17?>
 18
 19<div class="clear"></div></div><!-- wpbody-content -->
 20<div class="clear"></div></div><!-- wpbody -->
 21<div class="clear"></div></div><!-- wpcontent -->
 22
 23<div id="wpfooter" role="contentinfo">
 24	<?php
 25	/**
 26	 * Fires after the opening tag for the admin footer.
 27	 *
 28	 * @since 2.5.0
 29	 */
 30	do_action( 'in_admin_footer' );
 31	?>
 32	<p id="footer-left" class="alignleft">
 33		<?php
 34		$text = sprintf( __( 'Thank you for creating with <a href="%s">WordPress</a>.' ), __( 'https://wordpress.org/' ) );
 35		/**
 36		 * Filters the "Thank you" text displayed in the admin footer.
 37		 *
 38		 * @since 2.8.0
 39		 *
 40		 * @param string $text The content that will be printed.
 41		 */
 42		echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . $text . '</span>' );
 43		?>
 44	</p>
 45	<p id="footer-upgrade" class="alignright">
 46		<?php
 47		/**
 48		 * Filters the version/update text displayed in the admin footer.
 49		 *
 50		 * WordPress prints the current version and update information,
 51		 * using core_update_footer() at priority 10.
 52		 *
 53		 * @since 2.3.0
 54		 *
 55		 * @see core_update_footer()
 56		 *
 57		 * @param string $content The content that will be printed.
 58		 */
 59		echo apply_filters( 'update_footer', '' );
 60		?>
 61	</p>
 62	<div class="clear"></div>
 63</div>
 64<?php
 65/**
 66 * Prints scripts or data before the default footer scripts.
 67 *
 68 * @since 1.2.0
 69 *
 70 * @param string $data The data to print.
 71 */
 72do_action( 'admin_footer', '' );
 73
 74/**
 75 * Prints scripts and data queued for the footer.
 76 *
 77 * The dynamic portion of the hook name, `$hook_suffix`,
 78 * refers to the global hook suffix of the current page.
 79 *
 80 * @since 4.6.0
 81 */
 82do_action( "admin_print_footer_scripts-{$hook_suffix}" );
 83
 84/**
 85 * Prints any scripts and data queued for the footer.
 86 *
 87 * @since 2.8.0
 88 */
 89do_action( 'admin_print_footer_scripts' );
 90
 91/**
 92 * Prints scripts or data after the default footer scripts.
 93 *
 94 * The dynamic portion of the hook name, `$hook_suffix`,
 95 * refers to the global hook suffix of the current page.
 96 *
 97 * @since 2.8.0
 98 */
 99do_action( "admin_footer-{$hook_suffix}" );
100
101// get_site_option() won't exist when auto upgrading from <= 2.7
102if ( function_exists('get_site_option') ) {
103	if ( false === get_site_option('can_compress_scripts') )
104		compression_test();
105}
106
107?>
108
109<div class="clear"></div></div><!-- wpwrap -->
110<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
111</body>
112</html>