Skip to:
Content

BuddyPress.org

Changeset 5251


Ignore:
Timestamp:
10/21/2011 03:24:54 PM (15 years ago)
Author:
djpaul
Message:

Fix custom header not appearing when a page's featured image isn't wide enough. Fixes #3700, props masonjames & Aaron Edwards

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/functions.php

    r5219 r5251  
    335335                if ( !empty( $image ) && $image[1] >= HEADER_IMAGE_WIDTH )
    336336                        $header_image = $image[0];
     337                else
     338                        $header_image = get_header_image();
    337339
    338340        } else {
Note: See TracChangeset for help on using the changeset viewer.