equal
deleted
inserted
replaced
4 * |
4 * |
5 * @package WordPress |
5 * @package WordPress |
6 * @subpackage Administration |
6 * @subpackage Administration |
7 */ |
7 */ |
8 |
8 |
9 // don't load directly |
9 // Don't load directly. |
10 if ( ! defined( 'ABSPATH' ) ) { |
10 if ( ! defined( 'ABSPATH' ) ) { |
11 die( '-1' ); |
11 die( '-1' ); |
12 } |
12 } |
13 |
13 |
14 /** |
14 /** |
30 */ |
30 */ |
31 do_action( 'in_admin_footer' ); |
31 do_action( 'in_admin_footer' ); |
32 ?> |
32 ?> |
33 <p id="footer-left" class="alignleft"> |
33 <p id="footer-left" class="alignleft"> |
34 <?php |
34 <?php |
35 $text = sprintf( __( 'Thank you for creating with <a href="%s">WordPress</a>.' ), __( 'https://wordpress.org/' ) ); |
35 $text = sprintf( |
|
36 /* translators: %s: https://wordpress.org/ */ |
|
37 __( 'Thank you for creating with <a href="%s">WordPress</a>.' ), |
|
38 __( 'https://wordpress.org/' ) |
|
39 ); |
|
40 |
36 /** |
41 /** |
37 * Filters the "Thank you" text displayed in the admin footer. |
42 * Filters the "Thank you" text displayed in the admin footer. |
38 * |
43 * |
39 * @since 2.8.0 |
44 * @since 2.8.0 |
40 * |
45 * |
78 * The dynamic portion of the hook name, `$hook_suffix`, |
83 * The dynamic portion of the hook name, `$hook_suffix`, |
79 * refers to the global hook suffix of the current page. |
84 * refers to the global hook suffix of the current page. |
80 * |
85 * |
81 * @since 4.6.0 |
86 * @since 4.6.0 |
82 */ |
87 */ |
83 do_action( "admin_print_footer_scripts-{$hook_suffix}" ); |
88 do_action( "admin_print_footer_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores |
84 |
89 |
85 /** |
90 /** |
86 * Prints any scripts and data queued for the footer. |
91 * Prints any scripts and data queued for the footer. |
87 * |
92 * |
88 * @since 2.8.0 |
93 * @since 2.8.0 |
95 * The dynamic portion of the hook name, `$hook_suffix`, |
100 * The dynamic portion of the hook name, `$hook_suffix`, |
96 * refers to the global hook suffix of the current page. |
101 * refers to the global hook suffix of the current page. |
97 * |
102 * |
98 * @since 2.8.0 |
103 * @since 2.8.0 |
99 */ |
104 */ |
100 do_action( "admin_footer-{$hook_suffix}" ); |
105 do_action( "admin_footer-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores |
101 |
106 |
102 // get_site_option() won't exist when auto upgrading from <= 2.7 |
107 // get_site_option() won't exist when auto upgrading from <= 2.7. |
103 if ( function_exists( 'get_site_option' ) ) { |
108 if ( function_exists( 'get_site_option' ) ) { |
104 if ( false === get_site_option( 'can_compress_scripts' ) ) { |
109 if ( false === get_site_option( 'can_compress_scripts' ) ) { |
105 compression_test(); |
110 compression_test(); |
106 } |
111 } |
107 } |
112 } |