Ticket #28569: 28569.1.diff
File 28569.1.diff, 440 bytes (added by , 3 years ago) |
---|
-
src/wp-includes/admin-bar.php
diff --git a/src/wp-includes/admin-bar.php b/src/wp-includes/admin-bar.php index b35a49fe1a..cdf519132f 100644
a b function _admin_bar_bump_cb() { 1189 1189 function show_admin_bar( $show ) { 1190 1190 global $show_admin_bar; 1191 1191 $show_admin_bar = (bool) $show; 1192 1193 if ( false === $show_admin_bar ) { 1194 remove_action( 'wp_head', '_admin_bar_bump_cb' ); 1195 } 1192 1196 } 1193 1197 1194 1198 /**