Edit File by line
/home/barbar84/www/wp-admin
File: admin-footer.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* WordPress Administration Template Footer
[2] Fix | Delete
*
[3] Fix | Delete
* @package WordPress
[4] Fix | Delete
* @subpackage Administration
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
// Don't load directly.
[8] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[9] Fix | Delete
die( '-1' );
[10] Fix | Delete
}
[11] Fix | Delete
[12] Fix | Delete
/**
[13] Fix | Delete
* @global string $hook_suffix
[14] Fix | Delete
*/
[15] Fix | Delete
global $hook_suffix;
[16] Fix | Delete
?>
[17] Fix | Delete
[18] Fix | Delete
<div class="clear"></div></div><!-- wpbody-content -->
[19] Fix | Delete
<div class="clear"></div></div><!-- wpbody -->
[20] Fix | Delete
<div class="clear"></div></div><!-- wpcontent -->
[21] Fix | Delete
[22] Fix | Delete
<div id="wpfooter" role="contentinfo">
[23] Fix | Delete
<?php
[24] Fix | Delete
/**
[25] Fix | Delete
* Fires after the opening tag for the admin footer.
[26] Fix | Delete
*
[27] Fix | Delete
* @since 2.5.0
[28] Fix | Delete
*/
[29] Fix | Delete
do_action( 'in_admin_footer' );
[30] Fix | Delete
?>
[31] Fix | Delete
<p id="footer-left" class="alignleft">
[32] Fix | Delete
<?php
[33] Fix | Delete
$text = sprintf(
[34] Fix | Delete
/* translators: %s: https://wordpress.org/ */
[35] Fix | Delete
__( 'Thank you for creating with <a href="%s">WordPress</a>.' ),
[36] Fix | Delete
__( 'https://wordpress.org/' )
[37] Fix | Delete
);
[38] Fix | Delete
[39] Fix | Delete
/**
[40] Fix | Delete
* Filters the "Thank you" text displayed in the admin footer.
[41] Fix | Delete
*
[42] Fix | Delete
* @since 2.8.0
[43] Fix | Delete
*
[44] Fix | Delete
* @param string $text The content that will be printed.
[45] Fix | Delete
*/
[46] Fix | Delete
echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . $text . '</span>' );
[47] Fix | Delete
?>
[48] Fix | Delete
</p>
[49] Fix | Delete
<p id="footer-upgrade" class="alignright">
[50] Fix | Delete
<?php
[51] Fix | Delete
/**
[52] Fix | Delete
* Filters the version/update text displayed in the admin footer.
[53] Fix | Delete
*
[54] Fix | Delete
* WordPress prints the current version and update information,
[55] Fix | Delete
* using core_update_footer() at priority 10.
[56] Fix | Delete
*
[57] Fix | Delete
* @since 2.3.0
[58] Fix | Delete
*
[59] Fix | Delete
* @see core_update_footer()
[60] Fix | Delete
*
[61] Fix | Delete
* @param string $content The content that will be printed.
[62] Fix | Delete
*/
[63] Fix | Delete
echo apply_filters( 'update_footer', '' );
[64] Fix | Delete
?>
[65] Fix | Delete
</p>
[66] Fix | Delete
<div class="clear"></div>
[67] Fix | Delete
</div>
[68] Fix | Delete
<?php
[69] Fix | Delete
/**
[70] Fix | Delete
* Prints scripts or data before the default footer scripts.
[71] Fix | Delete
*
[72] Fix | Delete
* @since 1.2.0
[73] Fix | Delete
*
[74] Fix | Delete
* @param string $data The data to print.
[75] Fix | Delete
*/
[76] Fix | Delete
do_action( 'admin_footer', '' );
[77] Fix | Delete
[78] Fix | Delete
/**
[79] Fix | Delete
* Prints scripts and data queued for the footer.
[80] Fix | Delete
*
[81] Fix | Delete
* The dynamic portion of the hook name, `$hook_suffix`,
[82] Fix | Delete
* refers to the global hook suffix of the current page.
[83] Fix | Delete
*
[84] Fix | Delete
* @since 4.6.0
[85] Fix | Delete
*/
[86] Fix | Delete
do_action( "admin_print_footer_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
[87] Fix | Delete
[88] Fix | Delete
/**
[89] Fix | Delete
* Prints any scripts and data queued for the footer.
[90] Fix | Delete
*
[91] Fix | Delete
* @since 2.8.0
[92] Fix | Delete
*/
[93] Fix | Delete
do_action( 'admin_print_footer_scripts' );
[94] Fix | Delete
[95] Fix | Delete
/**
[96] Fix | Delete
* Prints scripts or data after the default footer scripts.
[97] Fix | Delete
*
[98] Fix | Delete
* The dynamic portion of the hook name, `$hook_suffix`,
[99] Fix | Delete
* refers to the global hook suffix of the current page.
[100] Fix | Delete
*
[101] Fix | Delete
* @since 2.8.0
[102] Fix | Delete
*/
[103] Fix | Delete
do_action( "admin_footer-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
[104] Fix | Delete
[105] Fix | Delete
// get_site_option() won't exist when auto upgrading from <= 2.7.
[106] Fix | Delete
if ( function_exists( 'get_site_option' ) ) {
[107] Fix | Delete
if ( false === get_site_option( 'can_compress_scripts' ) ) {
[108] Fix | Delete
compression_test();
[109] Fix | Delete
}
[110] Fix | Delete
}
[111] Fix | Delete
[112] Fix | Delete
?>
[113] Fix | Delete
[114] Fix | Delete
<div class="clear"></div></div><!-- wpwrap -->
[115] Fix | Delete
<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
[116] Fix | Delete
</body>
[117] Fix | Delete
</html>
[118] Fix | Delete
[119] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function