wp/wp-admin/admin-footer.php
author ymh <ymh.work@gmail.com>
Tue, 09 Jun 2015 03:35:32 +0200
changeset 5 5e2f62d02dcd
parent 0 d970ebf37754
child 7 cf61fcea0001
permissions -rw-r--r--
upgrade wordpress + plugins
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
<?php
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
/**
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
 * WordPress Administration Template Footer
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
 *
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
 * @package WordPress
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
 * @subpackage Administration
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
 */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
// don't load directly
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
if ( !defined('ABSPATH') )
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
	die('-1');
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
?>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
<div class="clear"></div></div><!-- wpbody-content -->
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
<div class="clear"></div></div><!-- wpbody -->
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
<div class="clear"></div></div><!-- wpcontent -->
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
5
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    18
<div id="wpfooter" role="contentinfo">
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
	<?php
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    20
	/**
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
	 * Fires after the opening tag for the admin footer.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
	 *
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
	 * @since 2.5.0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
	 */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
	do_action( 'in_admin_footer' );
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    26
	?>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
	<p id="footer-left" class="alignleft">
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    28
		<?php
5
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    29
		$text = sprintf( __( 'Thank you for creating with <a href="%s">WordPress</a>.' ), __( 'https://wordpress.org/' ) );
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    30
		/**
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    31
		 * Filter the "Thank you" text displayed in the admin footer.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    32
		 *
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    33
		 * @since 2.8.0
5
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    34
		 *
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    35
		 * @param string $text The content that will be printed.
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    36
		 */
5
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    37
		echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . $text . '</span>' );
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    38
		?>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    39
	</p>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    40
	<p id="footer-upgrade" class="alignright">
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    41
		<?php
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    42
		/**
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    43
		 * Filter the version/update text displayed in the admin footer.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    44
		 *
5
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    45
		 * WordPress prints the current version and update information,
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    46
		 * using core_update_footer() at priority 10.
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    47
		 *
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    48
		 * @since 2.3.0
5
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    49
		 *
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    50
		 * @see core_update_footer()
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    51
		 *
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    52
		 * @param string $content The content that will be printed.
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    53
		 */
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    54
		echo apply_filters( 'update_footer', '' );
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    55
		?>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    56
	</p>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    57
	<div class="clear"></div>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    58
</div>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    59
<?php
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    60
/**
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    61
 * Print scripts or data before the default footer scripts.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    62
 *
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    63
 * @since 1.2.0
5
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    64
 *
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    65
 * @param string $data The data to print.
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    66
 */
5
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    67
do_action( 'admin_footer', '' );
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    68
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    69
/**
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    70
 * Prints any scripts and data queued for the footer.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    71
 *
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    72
 * @since 2.8.0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    73
 */
5
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    74
do_action( 'admin_print_footer_scripts' );
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    75
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    76
/**
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    77
 * Print scripts or data after the default footer scripts.
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    78
 *
5
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    79
 * The dynamic portion of the hook name, `$GLOBALS['hook_suffix']`,
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    80
 * refers to the global hook suffix of the current page.
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    81
 *
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    82
 * @since 2.8.0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    83
 *
5
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    84
 * @param string $hook_suffix The current admin page.
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    85
 */
5
5e2f62d02dcd upgrade wordpress + plugins
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    86
do_action( "admin_footer-" . $GLOBALS['hook_suffix'] );
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    87
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    88
// get_site_option() won't exist when auto upgrading from <= 2.7
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    89
if ( function_exists('get_site_option') ) {
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    90
	if ( false === get_site_option('can_compress_scripts') )
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    91
		compression_test();
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    92
}
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    93
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    94
?>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    95
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    96
<div class="clear"></div></div><!-- wpwrap -->
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    97
<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    98
</body>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    99
</html>