Ticket #47053: 47053.2.patch
File 47053.2.patch, 752 bytes (added by , 5 years ago) |
---|
-
wp-includes/default-filters.php
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( 'wp_footer', 'wp_admin_bar_render', 1000 ); 538 add_action( 'wp_body_open', 'wp_admin_bar_render', 1000 ); 539 if ( ! did_action( 'wp_body_open' ) ) { 540 add_action( 'wp_footer', 'wp_admin_bar_render', 1000 ); 541 } 539 542 add_action( 'in_admin_header', 'wp_admin_bar_render', 0 ); 540 543 541 544 // Former admin filters that can also be hooked on the front end