Changeset 17508 for trunk/wp-includes/admin-bar.php
- Timestamp:
- 03/08/2011 10:48:05 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/admin-bar.php
r17435 r17508 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 */ … … 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 {
Note: See TracChangeset
for help on using the changeset viewer.