2008-08-11 22:26:31 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* WordPress Administration Template Footer
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Administration
|
|
|
|
*/
|
2009-08-03 02:04:45 +02:00
|
|
|
|
|
|
|
// don't load directly
|
2017-12-01 00:11:00 +01:00
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
|
|
die( '-1' );
|
|
|
|
}
|
2016-04-21 17:17:27 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @global string $hook_suffix
|
|
|
|
*/
|
|
|
|
global $hook_suffix;
|
2008-08-21 04:25:14 +02:00
|
|
|
?>
|
2008-08-20 23:42:31 +02:00
|
|
|
|
2008-11-21 18:55:35 +01:00
|
|
|
<div class="clear"></div></div><!-- wpbody-content -->
|
2008-11-28 05:33:35 +01:00
|
|
|
<div class="clear"></div></div><!-- wpbody -->
|
2008-11-21 18:55:35 +01:00
|
|
|
<div class="clear"></div></div><!-- wpcontent -->
|
2008-08-31 15:51:52 +02:00
|
|
|
|
2015-04-01 15:17:27 +02:00
|
|
|
<div id="wpfooter" role="contentinfo">
|
2013-09-05 18:21:09 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Fires after the opening tag for the admin footer.
|
|
|
|
*
|
|
|
|
* @since 2.5.0
|
2013-10-25 04:29:52 +02:00
|
|
|
*/
|
|
|
|
do_action( 'in_admin_footer' );
|
2013-09-05 18:21:09 +02:00
|
|
|
?>
|
|
|
|
<p id="footer-left" class="alignleft">
|
|
|
|
<?php
|
I18N: Improve translator comments.
* Add missing translator comments.
* Fix placement of some translator comments. Translator comments should be on the line directly above the line containing the translation function call for optimal compatibility with various `.pot` file generation tools. The CS auto-fixing, which changed some inconsistent function calls to multi-line function calls, is part of the reason why this was no longer the case for a select group of translator comments.
Includes minor code layout fixes.
Polyglots, rejoice! All WordPress core files now have translator comments for all strings with placeholders!
Props jrf, subrataemfluence, GaryJ, webdados, Dency, swissspidy, alvarogois, marcomartins, mihaiiceyro, vladwtz, niq1982, flipkeijzer, michielatyoast, chandrapatel, thrijith, joshuanoyce, FesoVik, tessak22, bhaktirajdev, cleancoded, dhavalkasvala, garrett-eclipse, bibliofille, socalchristina, priyankkpatel, 5hel2l2y, adamsilverstein, JeffPaul, pierlo, SergeyBiryukov.
Fixes #44360.
Built from https://develop.svn.wordpress.org/trunk@45926
git-svn-id: http://core.svn.wordpress.org/trunk@45737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-01 19:13:59 +02:00
|
|
|
/* translators: %s: https://wordpress.org/ */
|
2014-03-08 05:14:15 +01:00
|
|
|
$text = sprintf( __( 'Thank you for creating with <a href="%s">WordPress</a>.' ), __( 'https://wordpress.org/' ) );
|
2013-09-05 18:21:09 +02:00
|
|
|
/**
|
2016-05-22 20:01:30 +02:00
|
|
|
* Filters the "Thank you" text displayed in the admin footer.
|
2013-10-25 04:29:52 +02:00
|
|
|
*
|
2013-09-05 18:21:09 +02:00
|
|
|
* @since 2.8.0
|
2014-02-09 21:28:12 +01:00
|
|
|
*
|
|
|
|
* @param string $text The content that will be printed.
|
2013-10-25 04:29:52 +02:00
|
|
|
*/
|
2014-03-08 05:14:15 +01:00
|
|
|
echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . $text . '</span>' );
|
2013-09-05 18:21:09 +02:00
|
|
|
?>
|
|
|
|
</p>
|
|
|
|
<p id="footer-upgrade" class="alignright">
|
|
|
|
<?php
|
|
|
|
/**
|
2016-05-22 20:01:30 +02:00
|
|
|
* Filters the version/update text displayed in the admin footer.
|
2013-09-05 18:21:09 +02:00
|
|
|
*
|
2014-02-09 21:28:12 +01:00
|
|
|
* WordPress prints the current version and update information,
|
|
|
|
* using core_update_footer() at priority 10.
|
2013-10-25 04:29:52 +02:00
|
|
|
*
|
2013-09-06 19:38:09 +02:00
|
|
|
* @since 2.3.0
|
2014-02-09 21:28:12 +01:00
|
|
|
*
|
|
|
|
* @see core_update_footer()
|
|
|
|
*
|
|
|
|
* @param string $content The content that will be printed.
|
2013-09-05 18:21:09 +02:00
|
|
|
*/
|
2013-10-25 04:29:52 +02:00
|
|
|
echo apply_filters( 'update_footer', '' );
|
2013-09-05 18:21:09 +02:00
|
|
|
?>
|
|
|
|
</p>
|
|
|
|
<div class="clear"></div>
|
2004-07-23 09:50:21 +02:00
|
|
|
</div>
|
2009-01-14 15:18:51 +01:00
|
|
|
<?php
|
2013-09-05 18:21:09 +02:00
|
|
|
/**
|
2016-05-25 18:05:27 +02:00
|
|
|
* Prints scripts or data before the default footer scripts.
|
2013-10-25 04:29:52 +02:00
|
|
|
*
|
2013-09-06 19:38:09 +02:00
|
|
|
* @since 1.2.0
|
2014-02-09 21:28:12 +01:00
|
|
|
*
|
|
|
|
* @param string $data The data to print.
|
2013-09-05 18:21:09 +02:00
|
|
|
*/
|
2014-02-09 21:28:12 +01:00
|
|
|
do_action( 'admin_footer', '' );
|
2013-09-05 18:21:09 +02:00
|
|
|
|
2016-04-21 17:17:27 +02:00
|
|
|
/**
|
|
|
|
* Prints scripts and data queued for the footer.
|
|
|
|
*
|
|
|
|
* The dynamic portion of the hook name, `$hook_suffix`,
|
|
|
|
* refers to the global hook suffix of the current page.
|
|
|
|
*
|
|
|
|
* @since 4.6.0
|
|
|
|
*/
|
2019-07-05 03:45:56 +02:00
|
|
|
do_action( "admin_print_footer_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
2016-04-21 17:17:27 +02:00
|
|
|
|
2013-09-05 18:21:09 +02:00
|
|
|
/**
|
2013-09-06 03:38:09 +02:00
|
|
|
* Prints any scripts and data queued for the footer.
|
2013-10-25 04:29:52 +02:00
|
|
|
*
|
2013-09-05 18:21:09 +02:00
|
|
|
* @since 2.8.0
|
|
|
|
*/
|
2014-02-09 21:28:12 +01:00
|
|
|
do_action( 'admin_print_footer_scripts' );
|
2013-09-05 18:21:09 +02:00
|
|
|
|
|
|
|
/**
|
2016-05-25 18:05:27 +02:00
|
|
|
* Prints scripts or data after the default footer scripts.
|
2013-10-25 04:29:52 +02:00
|
|
|
*
|
2016-04-21 17:17:27 +02:00
|
|
|
* The dynamic portion of the hook name, `$hook_suffix`,
|
2014-02-09 21:28:12 +01:00
|
|
|
* refers to the global hook suffix of the current page.
|
|
|
|
*
|
2013-09-06 03:38:09 +02:00
|
|
|
* @since 2.8.0
|
2013-09-05 18:21:09 +02:00
|
|
|
*/
|
2019-07-05 03:45:56 +02:00
|
|
|
do_action( "admin_footer-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
2009-01-14 15:18:51 +01:00
|
|
|
|
2009-05-16 07:05:11 +02:00
|
|
|
// get_site_option() won't exist when auto upgrading from <= 2.7
|
2017-12-01 00:11:00 +01:00
|
|
|
if ( function_exists( 'get_site_option' ) ) {
|
|
|
|
if ( false === get_site_option( 'can_compress_scripts' ) ) {
|
2009-05-16 07:05:11 +02:00
|
|
|
compression_test();
|
2017-12-01 00:11:00 +01:00
|
|
|
}
|
2009-05-16 07:05:11 +02:00
|
|
|
}
|
|
|
|
|
2009-01-14 15:18:51 +01:00
|
|
|
?>
|
2009-01-15 01:08:20 +01:00
|
|
|
|
2011-05-11 22:27:59 +02:00
|
|
|
<div class="clear"></div></div><!-- wpwrap -->
|
2005-12-14 07:27:30 +01:00
|
|
|
<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
|
2003-05-22 14:12:53 +02:00
|
|
|
</body>
|
2009-01-14 15:18:51 +01:00
|
|
|
</html>
|