Make WordPress Core

Changeset 16432


Ignore:
Timestamp:
11/17/2010 05:21:45 PM (14 years ago)
Author:
markjaquith
Message:

Add admin-bar class to body_class() if the admin bar is showing. fixes #15455

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r16340 r16432  
    499499        $classes[] = 'logged-in';
    500500
     501    if ( is_admin_bar_showing() )
     502        $classes[] = 'admin-bar';
     503
    501504    $page = $wp_query->get( 'page' );
    502505
Note: See TracChangeset for help on using the changeset viewer.