Make WordPress Core

Changeset 29100


Ignore:
Timestamp:
07/11/2014 07:03:28 PM (10 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: fix header display on multisite signup and activate views. Fixes #28573, props slobodanmanic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/functions.php

    r28758 r29100  
    386386 * Adds body classes to denote:
    387387 * 1. Single or multiple authors.
    388  * 2. Presence of header image.
     388 * 2. Presence of header image except in Multisite signup and activate pages.
    389389 * 3. Index views.
    390390 * 4. Full-width content layout.
     
    405405    if ( get_header_image() ) {
    406406        $classes[] = 'header-image';
    407     } else {
     407    } elseif ( ! in_array( $GLOBALS['pagenow'], array( 'wp-activate.php', 'wp-signup.php' ) ) ) {
    408408        $classes[] = 'masthead-fixed';
    409409    }
Note: See TracChangeset for help on using the changeset viewer.