diff --git src/wp-includes/class-wp-admin-bar.php src/wp-includes/class-wp-admin-bar.php
index 69021f527b..69236ff267 100644
|
|
class WP_Admin_Bar { |
55 | 55 | |
56 | 56 | add_action( 'admin_head', 'wp_admin_bar_header' ); |
57 | 57 | |
| 58 | add_action( 'login_head', 'wp_admin_bar_header' ); |
| 59 | |
58 | 60 | if ( current_theme_supports( 'admin-bar' ) ) { |
59 | 61 | /** |
60 | 62 | * To remove the default padding styles from WordPress for the Toolbar, use the following code: |
… |
… |
class WP_Admin_Bar { |
69 | 71 | } |
70 | 72 | |
71 | 73 | add_action( 'wp_head', $header_callback ); |
| 74 | add_action( 'login_head', $header_callback, 1000 ); |
72 | 75 | |
73 | 76 | wp_enqueue_script( 'admin-bar' ); |
74 | 77 | wp_enqueue_style( 'admin-bar' ); |
diff --git src/wp-includes/default-filters.php src/wp-includes/default-filters.php
index 26cdfeba20..1ff9979f95 100644
|
|
add_action( 'template_redirect', '_wp_admin_bar_init', 0 ); |
535 | 535 | add_action( 'admin_init', '_wp_admin_bar_init' ); |
536 | 536 | add_action( 'before_signup_header', '_wp_admin_bar_init' ); |
537 | 537 | add_action( 'activate_header', '_wp_admin_bar_init' ); |
| 538 | add_action( 'login_head', '_wp_admin_bar_init' ); |
538 | 539 | add_action( 'wp_footer', 'wp_admin_bar_render', 1000 ); |
539 | 540 | add_action( 'in_admin_header', 'wp_admin_bar_render', 0 ); |
| 541 | add_action( 'login_footer', 'wp_admin_bar_render', 0 ); |
540 | 542 | |
541 | 543 | // Former admin filters that can also be hooked on the front end |
542 | 544 | add_action( 'media_buttons', 'media_buttons' ); |