Changeset 15938
- Timestamp:
- 10/23/2010 07:49:25 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r15918 r15938 1530 1530 */ 1531 1531 function iframe_header( $title = '', $limit_styles = false ) { 1532 global $hook_suffix; 1532 show_admin_bar( false ); 1533 global $hook_suffix; 1533 1534 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1534 1535 <html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>> -
trunk/wp-includes/admin-bar.php
r15916 r15938 63 63 if ( !is_object( $wp_admin_bar ) ) 64 64 return false; 65 65 66 66 $wp_admin_bar->load_user_locale_translations(); 67 67 … … 227 227 */ 228 228 function wp_admin_bar_css() { 229 global $pagenow, $wp_locale; 229 global $pagenow, $wp_locale, $wp_admin_bar; 230 231 if ( !is_object( $wp_admin_bar ) ) 232 return false; 230 233 231 234 if ( !is_user_logged_in() ) -
trunk/wp-includes/functions.php
r15865 r15938 4432 4432 $old_value = $show_admin_bar; 4433 4433 $show_admin_bar = $show; 4434 4435 // Prevent rendering if already initiated. 4436 if ( ! $show_admin_bar && isset( $GLOBALS['wp_admin_bar'] ) ) 4437 $GLOBALS['wp_admin_bar'] = null; 4438 4434 4439 return $old_value; 4435 4440 }
Note: See TracChangeset
for help on using the changeset viewer.