WordPress.org

Make WordPress Core

Ticket #20896: 20896.4.diff

File 20896.4.diff, 535 bytes (added by DrewAPicture, 6 years ago)

body class

  • wp-includes/post-template.php

     
    500500        if ( is_user_logged_in() )
    501501                $classes[] = 'logged-in';
    502502
    503         if ( is_admin_bar_showing() )
     503        if ( is_admin_bar_showing() ) {
    504504                $classes[] = 'admin-bar';
     505                $classes[] = 'no-customize-support';
     506        }
    505507
    506508        if ( get_theme_mod( 'background_color' ) || get_background_image() )
    507509                $classes[] = 'custom-background';