Ticket #28573: 28573-3.diff
File 28573-3.diff, 770 bytes (added by , 11 years ago) |
---|
-
functions.php
385 385 * 386 386 * Adds body classes to denote: 387 387 * 1. Single or multiple authors. 388 * 2. Presence of header image .388 * 2. Presence of header image except in Multisite signup and activate pages. 389 389 * 3. Index views. 390 390 * 4. Full-width content layout. 391 391 * 5. Presence of footer widgets. … … 404 404 405 405 if ( get_header_image() ) { 406 406 $classes[] = 'header-image'; 407 } else {408 $classes[] = 'masthead-fixed'; 407 } elseif ( ! in_array( $GLOBALS['pagenow'], array( 'wp-activate.php', 'wp-signup.php' ) ) ) { 408 $classes[] = 'masthead-fixed'; 409 409 } 410 410 411 411 if ( is_archive() || is_search() || is_home() ) {