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/css/admin-bar.css src/wp-includes/css/admin-bar.css
index d0f4457e7a..4b6b4f2fbb 100644
|
|
|
html:lang(he-il) .rtl #wpadminbar * { |
| 620 | 620 | height: 32px; |
| 621 | 621 | padding: 0 2px; |
| 622 | 622 | z-index: 1; |
| | 623 | background: transparent; |
| | 624 | border: 0; |
| 623 | 625 | } |
| 624 | 626 | |
| 625 | 627 | #wpadminbar #adminbarsearch:before { |
| … |
… |
html:lang(he-il) .rtl #wpadminbar * { |
| 659 | 661 | transition-duration: 400ms; |
| 660 | 662 | transition-property: width, background; |
| 661 | 663 | transition-timing-function: ease; |
| | 664 | min-height: 0; |
| 662 | 665 | } |
| 663 | 666 | |
| 664 | 667 | #wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { |
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' ); |