mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-09 04:11:10 +01:00
2faf449f51
Also includes some changes to move hook docs to directly precede hook lines. This is necessary to prevent DocBlock-matching confusion when core is parsed. Affects DocBlocks for the following hooks: * `wp_ajax_ . $_REQUEST['action']` * `wp_ajax_nopriv_ . $_REQUEST['action']` * `admin_footer- . $GLOBALS['hook_suffix']` * `admin_head-$hook_suffix` * `admin_post_nopriv_{$action}` * `admin_post_{$action}` * `load- . $page_hook` * `load- . $plugin_page` * `load-importer- . $importer` * `load- . $pagenow` * `admin_action_ . $_REQUEST['action']` * `async_upload_{$type}` * `add_meta_boxes_ . $post_type` * `{$taxonomy}_pre_edit_form` * `{$taxonomy}_term_edit_form_tag` * `{$taxonomy}_edit_form_fields` * `{$taxonomy}_edit_form` * `after-{$taxonomy}-table` * `{$taxonomy}_pre_add_form` * `{$taxonomy}_term_new_form_tag` * `{$taxonomy}_add_form_fields` * `{$taxonomy}_add_form` * `media_upload_$type` * `media_upload_$tab` * `install_plugins_pre_$tab` * `install_plugins_$tab` * `install_themes_pre_{$tab}` * `install_themes_{$tab}` * `update-core-custom_{$action}` * `update-custom_{$action}` * `user_{$name}_label` See #30552. Built from https://develop.svn.wordpress.org/trunk@30649 git-svn-id: http://core.svn.wordpress.org/trunk@30639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
100 lines
2.3 KiB
PHP
100 lines
2.3 KiB
PHP
<?php
|
|
/**
|
|
* WordPress Administration Template Footer
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Administration
|
|
*/
|
|
|
|
// don't load directly
|
|
if ( !defined('ABSPATH') )
|
|
die('-1');
|
|
?>
|
|
|
|
<div class="clear"></div></div><!-- wpbody-content -->
|
|
<div class="clear"></div></div><!-- wpbody -->
|
|
<div class="clear"></div></div><!-- wpcontent -->
|
|
|
|
<div id="wpfooter">
|
|
<?php
|
|
/**
|
|
* Fires after the opening tag for the admin footer.
|
|
*
|
|
* @since 2.5.0
|
|
*/
|
|
do_action( 'in_admin_footer' );
|
|
?>
|
|
<p id="footer-left" class="alignleft">
|
|
<?php
|
|
$text = sprintf( __( 'Thank you for creating with <a href="%s">WordPress</a>.' ), __( 'https://wordpress.org/' ) );
|
|
/**
|
|
* Filter the "Thank you" text displayed in the admin footer.
|
|
*
|
|
* @since 2.8.0
|
|
*
|
|
* @param string $text The content that will be printed.
|
|
*/
|
|
echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . $text . '</span>' );
|
|
?>
|
|
</p>
|
|
<p id="footer-upgrade" class="alignright">
|
|
<?php
|
|
/**
|
|
* Filter the version/update text displayed in the admin footer.
|
|
*
|
|
* WordPress prints the current version and update information,
|
|
* using core_update_footer() at priority 10.
|
|
*
|
|
* @since 2.3.0
|
|
*
|
|
* @see core_update_footer()
|
|
*
|
|
* @param string $content The content that will be printed.
|
|
*/
|
|
echo apply_filters( 'update_footer', '' );
|
|
?>
|
|
</p>
|
|
<div class="clear"></div>
|
|
</div>
|
|
<?php
|
|
/**
|
|
* 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
|
|
*
|
|
* @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();
|
|
}
|
|
|
|
?>
|
|
|
|
<div class="clear"></div></div><!-- wpwrap -->
|
|
<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
|
|
</body>
|
|
</html>
|