Ticket #16588: 16588.diff
| File 16588.diff, 808 bytes (added by , 15 years ago) |
|---|
-
wp-includes/admin-bar.php
337 337 * @return bool Whether the admin bar should be showing. 338 338 */ 339 339 function is_admin_bar_showing() { 340 global $show_admin_bar ;340 global $show_admin_bar, $pagenow; 341 341 342 342 /* For all these types of request we never want an admin bar period */ 343 343 if ( defined('XMLRPC_REQUEST') || defined('APP_REQUEST') || defined('DOING_AJAX') || defined('IFRAME_REQUEST') ) 344 344 return false; 345 345 346 346 if ( ! isset( $show_admin_bar ) ) { 347 if ( ! is_user_logged_in() ) {347 if ( ! is_user_logged_in() || 'wp-login.php' == $pagenow ) { 348 348 $show_admin_bar = false; 349 349 } else { 350 350 $context = is_admin() ? 'admin' : 'front';
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)