diff --git src/wp-admin/includes/admin-filters.php src/wp-admin/includes/admin-filters.php
index 02b49c4..8a20081 100644
|
|
|
add_action( 'admin_head', 'wp_color_scheme_settings' );
|
| 43 | 43 | add_action( 'admin_head', 'wp_site_icon' ); |
| 44 | 44 | add_action( 'admin_head', '_ipad_meta' ); |
| 45 | 45 | |
| 46 | | // Prerendering. |
| 47 | | add_filter( 'admin_head', 'wp_resource_hints' ); |
| | 46 | add_filter( 'admin_enqueue_scripts', 'wp_resource_hints', 1000 ); |
| 48 | 47 | |
| 49 | 48 | add_action( 'admin_print_scripts-post.php', 'wp_page_reload_on_back_button_js' ); |
| 50 | 49 | add_action( 'admin_print_scripts-post-new.php', 'wp_page_reload_on_back_button_js' ); |
diff --git src/wp-includes/default-filters.php src/wp-includes/default-filters.php
index b60bee8..5590dee 100644
|
|
|
add_filter( 'rest_authentication_errors', 'rest_cookie_check_errors', 100 );
|
| 229 | 229 | // Actions |
| 230 | 230 | add_action( 'wp_head', '_wp_render_title_tag', 1 ); |
| 231 | 231 | add_action( 'wp_head', 'wp_enqueue_scripts', 1 ); |
| | 232 | add_action( 'wp_head', 'wp_resource_hints', 1 ); |
| 232 | 233 | add_action( 'wp_head', 'feed_links', 2 ); |
| 233 | 234 | add_action( 'wp_head', 'feed_links_extra', 3 ); |
| 234 | 235 | add_action( 'wp_head', 'rsd_link' ); |
| … |
… |
add_action( 'wp_head', 'wp_print_styles', 8 );
|
| 242 | 243 | add_action( 'wp_head', 'wp_print_head_scripts', 9 ); |
| 243 | 244 | add_action( 'wp_head', 'wp_generator' ); |
| 244 | 245 | add_action( 'wp_head', 'rel_canonical' ); |
| 245 | | add_action( 'wp_head', 'wp_resource_hints' ); |
| 246 | 246 | add_action( 'wp_head', 'wp_shortlink_wp_head', 10, 0 ); |
| 247 | 247 | add_action( 'wp_head', 'wp_site_icon', 99 ); |
| 248 | 248 | add_action( 'wp_footer', 'wp_print_footer_scripts', 20 ); |
| … |
… |
if ( isset( $_GET['replytocom'] ) )
|
| 256 | 256 | add_action( 'wp_head', 'wp_no_robots' ); |
| 257 | 257 | |
| 258 | 258 | // Login actions |
| | 259 | add_filter( 'login_head', 'wp_resource_hints', 8 ); |
| 259 | 260 | add_action( 'login_head', 'wp_print_head_scripts', 9 ); |
| 260 | 261 | add_action( 'login_head', 'print_admin_styles', 9 ); |
| 261 | 262 | add_action( 'login_head', 'wp_site_icon', 99 ); |
| … |
… |
add_action( 'wp_enqueue_scripts', 'wp_localize_jquery_ui_datepicker', 1000 );
|
| 416 | 417 | add_action( 'admin_enqueue_scripts', 'wp_localize_jquery_ui_datepicker', 1000 ); |
| 417 | 418 | add_filter( 'wp_print_scripts', 'wp_just_in_time_script_localization' ); |
| 418 | 419 | add_filter( 'print_scripts_array', 'wp_prototype_before_jquery' ); |
| | 420 | add_filter( 'customize_controls_enqueue_scripts', 'wp_resource_hints', 1000 ); |
| 419 | 421 | |
| 420 | 422 | add_action( 'wp_default_styles', 'wp_default_styles' ); |
| 421 | 423 | add_filter( 'style_loader_src', 'wp_style_loader_src', 10, 2 ); |