WordPress.org

Make WordPress Core

Ticket #10630: login-head.diff

File login-head.diff, 610 bytes (added by shamess, 5 years ago)
  • wp-includes/default-filters.php

     
    179179add_action('wp_head', 'wp_print_head_scripts', 9); 
    180180add_action('wp_head', 'wp_generator'); 
    181181add_action('wp_head', 'rel_canonical'); 
     182add_action('login_head', 'wp_print_head_scripts', 1); 
     183add_action('login_head', 'wp_enqueue_scripts', 1); 
    182184add_action('wp_footer', 'wp_print_footer_scripts'); 
    183185if(!defined('DOING_CRON')) 
    184186        add_action('sanitize_comment_cookies', 'wp_cron');