Changeset 38046
- Timestamp:
- 07/13/2016 12:53:06 PM (7 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/admin-filters.php
r37978 r38046 45 45 46 46 // Prerendering. 47 add_filter( 'admin_head', 'wp_resource_hints' ); 47 if ( ! is_customize_preview() ) { 48 add_filter( 'admin_print_styles', 'wp_resource_hints', 1 ); 49 } 48 50 49 51 add_action( 'admin_print_scripts-post.php', 'wp_page_reload_on_back_button_js' ); -
trunk/src/wp-includes/default-filters.php
r38010 r38046 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', 2 ); 232 233 add_action( 'wp_head', 'feed_links', 2 ); 233 234 add_action( 'wp_head', 'feed_links_extra', 3 ); … … 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 ); … … 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 ); … … 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_print_styles', 'wp_resource_hints', 1 ); 419 421 420 422 add_action( 'wp_default_styles', 'wp_default_styles' );
Note: See TracChangeset
for help on using the changeset viewer.