Make WordPress Core

Ticket #28573: 28573-2.diff

File 28573-2.diff, 536 bytes (added by slobodanmanic, 11 years ago)
  • functions.php

     
    404404
    405405        if ( get_header_image() ) {
    406406                $classes[] = 'header-image';
    407         } else {
    408                 $classes[] = 'masthead-fixed';
     407        } elseif ( ! in_array( $GLOBALS['pagenow'], array( 'wp-activate.php', 'wp-signup.php' ) ) ) {
     408                // Checks if not in Multisite signup and activate pages.
     409                $classes[] = 'masthead-fixed';
    409410        }
    410411
    411412        if ( is_archive() || is_search() || is_home() ) {