Skip to:
Content

BuddyPress.org

Changeset 2614


Ignore:
Timestamp:
02/07/2010 01:02:59 AM (14 years ago)
Author:
apeatling
Message:

Page title and front page selection fixes.

File:
1 edited

Legend:

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

    r2612 r2614  
    120120/* Return the ID of a page set as the home page. */
    121121function bp_dtheme_page_on_front() {
     122    if ( 'page' != get_option( 'show_on_front' ) )
     123        return false;
     124
    122125    return apply_filters( 'bp_dtheme_page_on_front', get_option( 'page_on_front' ) );
    123126}
Note: See TracChangeset for help on using the changeset viewer.