X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/0f29eadd474473203a1182f52af1aa82721cecbd..a9fa37e08fa731c7bd108a175c24876823bc071b:/wp-admin/admin-footer.php diff --git a/wp-admin/admin-footer.php b/wp-admin/admin-footer.php index 88e69ae4..a99eabac 100644 --- a/wp-admin/admin-footer.php +++ b/wp-admin/admin-footer.php @@ -1,19 +1,100 @@ +

-

-
- -

+// don't load directly +if ( !defined('ABSPATH') ) + die('-1'); +?> - - - +
+
+
+ '; +/** + * Print scripts or data before the default footer scripts. + * + * @since 1.2.0 + * + * @param string $data The data to print. + */ +do_action( 'admin_footer', '' ); + +/** + * Prints any scripts and data queued for the footer. + * + * @since 2.8.0 + */ +do_action( 'admin_print_footer_scripts' ); + +/** + * Print scripts or data after the default footer scripts. + * + * The dynamic portion of the hook name, `$GLOBALS['hook_suffix']`, + * refers to the global hook suffix of the current page. + * + * @since 2.8.0 + * + * @global string $hook_suffix + * @param string $hook_suffix The current admin page. + */ +do_action( "admin_footer-" . $GLOBALS['hook_suffix'] ); + +// get_site_option() won't exist when auto upgrading from <= 2.7 +if ( function_exists('get_site_option') ) { + if ( false === get_site_option('can_compress_scripts') ) + compression_test(); } + ?> +
+