wp/wp-admin/admin-footer.php
changeset 9 177826044cd9
parent 7 cf61fcea0001
child 16 a86126ab1dd4
equal deleted inserted replaced
8:c7c34916027a 9:177826044cd9
     5  * @package WordPress
     5  * @package WordPress
     6  * @subpackage Administration
     6  * @subpackage Administration
     7  */
     7  */
     8 
     8 
     9 // don't load directly
     9 // don't load directly
    10 if ( !defined('ABSPATH') )
    10 if ( ! defined( 'ABSPATH' ) ) {
    11 	die('-1');
    11 	die( '-1' );
       
    12 }
    12 
    13 
    13 /**
    14 /**
    14  * @global string $hook_suffix
    15  * @global string $hook_suffix
    15  */
    16  */
    16 global $hook_suffix;
    17 global $hook_suffix;
    97  * @since 2.8.0
    98  * @since 2.8.0
    98  */
    99  */
    99 do_action( "admin_footer-{$hook_suffix}" );
   100 do_action( "admin_footer-{$hook_suffix}" );
   100 
   101 
   101 // get_site_option() won't exist when auto upgrading from <= 2.7
   102 // get_site_option() won't exist when auto upgrading from <= 2.7
   102 if ( function_exists('get_site_option') ) {
   103 if ( function_exists( 'get_site_option' ) ) {
   103 	if ( false === get_site_option('can_compress_scripts') )
   104 	if ( false === get_site_option( 'can_compress_scripts' ) ) {
   104 		compression_test();
   105 		compression_test();
       
   106 	}
   105 }
   107 }
   106 
   108 
   107 ?>
   109 ?>
   108 
   110 
   109 <div class="clear"></div></div><!-- wpwrap -->
   111 <div class="clear"></div></div><!-- wpwrap -->